mocha testing update