Clean up CoursesDbTest #1979

As title