Test implementation of Oauth