fixed UIFactoryTest