from test to index