flushMicrotasks and flushTimers

It seems arbitrary to only flush non-periodic timers.  Periodic timers can be canceled, and whether the code under test uses periodic or non-periodic timers should be an implementation detail, but this leaks that.