new changes in factories and new methods for spec@controllers