Allow mocking setImmediate with the timers API