[BUG #7145] Fixed the canceling of the scheduled flush
[BUG #7145] Delay each unit test by 5 ms to give the browser the chance to update the view.
Minor
Minor unit test fix.