Added test php file and test code.