unit test XMLGeneratorFactoryTest