Add index test.