Some test improvements.
Forgot new thread file.