Port clientCredentials exchange test cases to Mocha.