OAuth, test structure