add unit test for hash