Adds more php unit tests

Change-Id: I78ea38b9274ab5ecaf780091ec3cf5531efbc576