get mocha tests passing

Required to run with latest mocha.  I have signed CLA.