update test_hash_map to work for several hash_maps