MDL-38686 behat: New restore course test

According to MDLQA-4596, a teacher can change
the format of a restored course