> But why the tests behat still green ?

The class is created without parameter, the default is used.