added JFactoryTest