Added keyIterator() and iterator() tests