Tests for creating new courses in CourseResource.