Sleep less in test.
Small test's refactoring.