These two assertions can be made more concise with `self.assertTrue(self.user.roles.filter(name="Student", course_id=self.course_id))`