Update TestReplaceWithIndexCounter.java