Formatting and fixing test.php