wrote code for testing LoaderClientTest.testRun() but needs debugging.