fix phpspec tests