index and test file