note: we need to do 2 different sets of tests:
* one set that test the visibilitychange event
* one set that test only the init (because we'll start/stop the scheduler at init too).