Added test case for EntrySet iterator that catches in case hasNext() and
next() doesn't behave correctly after last item.