Added a test file for PHP implementation