Have you tested what happens when you do a next on the iterator without any elements being available?

And what about repeated calls to hasNext() without next()... do you remain on the same element, or do you go to the next. This should be tested as well.