Add new test for use-index-range rule and no rule explosion.