Update FactoryTest.java