Tackled mocha deprecation warning