Merge #11748: [Tests] Adding unit tests for GetDifficulty in blockchain.cpp.