fixes failing unit test in course_groups
Merge pull request #6232 from edx/clytwynec/fix_failing_cohort_test

fixes failing unit test in course_groups