`done` can take a function as parameter, and then wraps this function between try/catch block and reports the error to mocha. So please use this construct:
```javascript
done(function() {
  var mHistory = ...
  assert.ok(...)
  ...
});
```