Does this work? Looks like you're testing something asynchronous with a synchronous test.

Documentation on how to do async testing is here: http://visionmedia.github.com/mocha/#asynchronous-code