Removed global dependence on mocha