added some tests for inviting students and creating a course