Adding mocha unit-test