added test for add and search in hash table