Add failing test for Dispatcher.waitFor

I believe this should pass with a bug-free dispatcher, though the async behavior is a little unclear to me.

cc @fisherwebdev