Fix up Google tests to run standalone

This PR copies some stub functions from the Oauth2 test over to the Google Oauth2 tests.