modified the ControllerFactory class and tests to check and return for NamespaceResolver interface dependency injection