For the diff-index tests, the diff_more test will run multiple times. Reset the expect_idx counter after each test in order to allow this.