Integrate with mocha testing.