[CDE-340]: update resourceLoaderFactory unit test