fixed error with test generation using angular-fullstack workflow, added first factory