Added unit tests for the PHP client