Update test_hash_table.py to correctly open words