improve unit tests for LocaleManager, PageContentBuilder ResourceRequestProcessor
improve unit tests for LocaleManager, PageContentBuilder ResourceRequestProcessor