testing AuthenticationAuthorizationFlow
testing if user is being refreshed and removing method call from if&else