testing oauth2 rails