MDL-61578 backup: Added unit test for is_course_modified check.