Tests for AuthorizationHandler