Adds mocha support for tests