MDL-42281 Behat: Converted MDLQA-510 to behat test