added changes to test.php