Port exchange test cases to Mocha.
Port exchange test cases to Mocha.