test add to index