Make tests compatible with Behat 3.x.