added test for removing users from a course before deleting the course