Gets rid of the nasty sleep in the tests.