introducing mocha
fixing
mocha tests
cleaning up