Fix mocha warning