test for index reformatting