tested more function on the unit test for the hash table