fix problems with tests spec and behat