Update tests for hash function