I'd suggest making this even a lot shorter--no reason for it to be this long in the unit test--we're never calling the callback, so there should be no timing issue, right? So something like 100 ms should be fine.