Switch InternalOAuthError test case to Mocha.