fixes failing unit test in course_groups