baryshev/connect-domain — pull request #2 by fengmk2 (2012-12-26 09:31:04+00:00)
Title: add unittest and coverage

Hi, @baryshev , I want to use `connect-domain`, but I found out there is no unittests.

I try to add the test cases.

Also need to know `mocha` does not work with `domain` module normally. Please @see https://github.com/joyent/node/issues/4375 . I add some before hook to make `mocha` work with `domain`.