Added test for hasNext() and next() on iterator of Map keys and values
when positioned at end of iterator.