Fixed bugs and added Mocha test beginnings