test.php modified to test the result