Convert unit tests to use Mocha and expect.js.