added testing file for each php function