Adding tests to confirm hashes are dealt with correctly