updating Factory tests