Testing hash table functions