title: Mocha conflicting with Nimble (Async)
body: <p>I'm using nimble.js in my app and mocha + chai for testing, but yesterday I found them to be possibly conflicting.</p>
  
  <p>Basically, when I do a particular http request in my browser, I get</p>
  
  <pre><code>Unauthorized.
  </code></pre>
  
  <p>which is the correct response.</p>
  
  <p>But using node's http module to do a http request using the same url, I get</p>
  
  <pre><code>not found
  </code></pre>
  
  <p>Which is confusing me.</p>
  
  <p>I know the http request got the right url because I see it in the server console, even copy pasted it in my browser to be sure.</p>
  
  <p>Additionally, I traced the code to the nimble.parallel function.</p>
  
  <p>I have something like this:</p>
  
  <pre><code>// var _ = require('nimble');
  _.parallel(
    [
      fetch_account(options)
    , fetch_invoice(options)
    , fetch_site(options)
    , fetch_account_stats(options)
    ]
  , render(res, subdomain)
  );
  // each of the function above returns another function, no simple API gotcha here
  </code></pre>
  
  <p>In the browser case, an error was correctly identified in a fetch function, then also in the render case.</p>
  
  <p>In the mocha case, an error was correctly identified in a fetch function, but render was not executed. Hence, mocha must've did its own res.render("not found");</p>
  
  <p>Any ideas?</p>