tests: fixed the test index in worker.t.