Fix tests to use an actual hash, when testing hash comparison