Make sure the index is working