a unit test case to test the index.php