CourseController specs refactoring