MDL-40975 course: Adapt behat tests to the new course editing interface