phpspec tests fix