updated php unit test