Fixes deprecated loading of "mocha"