add test to index