update mocha to 1.12