Improve AuthorizationServiceImplTest. Add new MockAuthorizationServiceImplTest. Remove dead code.