fixed 2 test cases in studygroup_spec