require mocha in the proper way