EntityFactoryTest - Added the misssing assert statement