Fixes to get the test harness to work in the new preferences world again. We need to manually register the file locator component because it doesn't get self-registered in the repository.