mocha also failed with old versions of node