Test for the actual function that OAuth2Client is using