added unit tests for registering a handler, resolve/rejecting, then registering a second handler.
added unit tests for registering a handler, resolve/rejecting, then
registering a second handler.

justinryder/Deferred