Add test coverage to course groups app

TNL-21

@jimabramson @andy-armstrong 
I'm now testing permissions with staff and non-staff. Since the cohort code only checks whether a user is staff or not, I'm not sure why we need to test the two different types of staff.