MDL-43450 behat: Improving error messages