Add index with test