Unit tests

Integrateing mocha test and test runner