Test EachWithIndex.