CommandScript script = new CommandScript(
"testing", set(), "profile", "module",
Arrays.asList(shell.getAbsolutePath()),
map("script", "SCRIPT", "override", "SCRIPT"));
CommandScriptHandler handler = handler("env.handler", "HANDLER", "env.override", "HANDLER");
execute(script, handler);
List<String> results = getOutput(shell);
assertThat(results, has(equalToIgnoringWhiteSpace("script=SCRIPT")));
assertThat(results, has(equalToIgnoringWhiteSpace("handler=HANDLER")));