added test for GeneratorCommand