tests: fix worker thread initialization

No match.