make it compatible with behat v3
Merge pull request #111 from docteurklein/3.0

make it compatible with behat v3