Fixed unit tests for studygroup/user specs