add tests to allow hashes