updated test.php file