Spec for autotest controllers refactoring
Change factory spec for content uploads
Add permits for params