added some extra tests to studygroup model