Use setImmediate() if available.
Show progress while testing.