MDL-46325 behat: Fixed issue where 'teacher1' didn't exist