Add loading-related functionality to test harness.