Do a better test on index.