Changed test framework to mocha