adds a function to test that a course is not listed
tests based on regular enrollments