(test) logging getRedirectUrl