And what about mocking out 'Thread'?

Irrespective of the fact, that I still do not like the blocking sleep function in the tests, why do you know, that 0.1 seconds is enough? Maybe there are still cases where it fails with this change.

I opened #982 as a possible solution.