Add test cases for removing categories from a course