[test] Restore the interval and fix async forEach test by using non overlapping timers