function asyncCheck(done, testFunction) {
  try {
    testFunction();
    done();
  }
  catch(err) {
    done(err);
  }
}
Correctly report errors that occur in an asynchronous callback
@param {function(err): void} done The mocha callback
@param {function(): void} testFunction The assertions function