test_course function

Run tests on a course