Adding mocha for some unittesting