final MyApplication application = new MyApplication(this.testDir);
// Attach the application to the component and start it
clientComponent.getDefaultHost().attach("", application);
// Now, let's start the component!
clientComponent.start();
// Allow extensions tunneling
application.getTunnelService().setExtensionsTunnel(true);
BioUtils.delete(this.testDir, true);
this.testDir = new File(System.getProperty("java.io.tmpdir"),