tests: fixed the test case indexes in output.t.