Changed test framework to mocha+chai+sinon