Fixed mailer test failure, added extra condition for private studygroups in user.rb join method