change mocha require statements to take care of mocha warnings