move test into index