code: private void process(String tebase) {
  		deleteConfigFile(tebase);
  		docMain = builder.newDocument();
  		config = docMain.createElement("config");
  		docMain.appendChild(config);
  		scripts = docMain.createElement("scripts");
  		config.appendChild(scripts);
  		String scriptsDir = tebase + "scripts";
  		LOGR.info("Scripts directory found at " + scriptsDir);
  
  		File[] testScriptsDir = new File(scriptsDir).listFiles();
  		if (testScriptsDir != null) {
  			// if no tests are found under scripts, listFiles will return null,
  			// if not iterated over the scripts directories
  			for (File dir : testScriptsDir) {
  				processDir(dir);
  			}
  		}
  		String mainconfig = tebase + "config.xml";
  		saveConfigFile(docMain, mainconfig);
  	}
docs: Process the the tests under the TEBASE folder, and creates an integrated
  config.xml. If no tests are found, it stills create a basic config file
  with two elements configs/scripts.
  
  @param tebase
  - path to TEBASE. Expected to have under TEBASE/scripts