update mocha for unittests