Fix test spec for CourseCtrl