Both iterators pass unit testing