Testing HasAuthorizationService