Sequence generators added, test helpers for iterator seq. refactored,
such that they could be reused for sequence generators.