tests: Improve new thread tests