Add tests for role name for name.
Add tests for dependency injector.
Add tests for resource filter factory.