added new test for hash