Integrated Mocha unit testing suite, wrote couple of core tests.