Once the wait for these `setTimeouts()` is fixed, these timeouts will add 6 seconds to the running time for these tests, which currently run in ~10 seconds. That seems excessive.

I don't know if we really need these tests.... There is no reliable way to test these functions without callbacks. Adding large timeouts _should_ be enough for most cases, but there is no guarantee.