fix php spec tests
Merge pull request #2 from bendavies/fix-spec

fix php spec tests