updated to support Behat 3