fix php unit tests