Update test to remove CourseInstance object