added tests for new iterator