adding tests for hash_table