mocha tests now run on express; cleaned main.js