Fixed the warning in TestCourse