Adds tests for greedy and lazy iterators