Changes in connect/mocha to support travis