added tests for the new oauth2client integration