Added more test for Dispatcher (98.18% coverage).

The remaining lines are going to be harder to test since it's hard to
force cURL to crash :)