First unit-test for generator.