MDL-42404 behat: Covering MDL-39710 with behat features

I've contributed to a large an ugly scenario
in favour of performance as separating it in another
scenario or feature would add 3 or 4 minutes to the suite.