Tidying up the index file and removing test data