update tests for new mocha