Change a little bit the thread test.