Tests for hashes testing cportable gadget against reference gadget.