moving test to index