made compatible with behat 3rc1