Added more tests for php web api