get mocha tests passing