deleted factories directory causing testing error