MDL-41988 behat: improvements to spin