flushMicrotasks and flushTimers

Done.