Use Iterator to generate test data.
Merge branch 'feature/IteratorForGenerator'