Add test that CourseLocator can be converted from deprecated to non-deprecated formats