Tests for HashTable