Support 3p module loaders as first-class citizens in test-agent