three hash function test case