If I understand this code correctly, I think we could just run the bitcoind test, and export the hashes it produces to a file, and import those into bitcore, and make sure the hashes are calculated exactly the same.