Add test for cache-course-rebuild command