Adding tests. Not emitting multiple "end" events when redirecting. Moving wrapException to a public function. Fixing Pool so that it works with completed mocked futures. Added a BatchResults class.