get mocha tests working