IterateTest refactor