Test case for hash function added.