Adds EntityFactoryTest