Added test for GeneratorCommand