Added  tests around 2 passes of generator.