add tests for authorizer class