hash_hashtable: reorganize tests
Refactor hashtable traversal to use pointer structure