added contains() test for the hash table implementation