add test for hashes