Add test.php and fix paths