fix php unit test