fixed up php tests