change test to index