Added mocha testing.