Fix phpspec tests