Implementing mock to remove sleep from unit tests
Implementing mock to remove sleeps