refactoring submission controller spec