Tests for timing related scheduler methods.
Test for Promise.sleep.