  @Test
  public void testTableCommandCreation() {

    env.setString(LuaFields.COMMAND_BASE, "${JAVA_HOME}/bin/java -Xmx512M com.cloudera.kitten.test.Main");
    LuaWrapper args = env.createTable(LuaFields.ARGS);
    args.setString("-Dmapred.jobtracker.url", "http://foo:50030");
    args.setBoolean("-Dmapred.compress.output", false);
    args.addString("bar");
    assertEquals("${JAVA_HOME}/bin/java -Xmx512M com.cloudera.kitten.test.Main -Dmapred.compress.output=false -Dmapred.jobtracker.url=http://foo:50030 bar",
        lclp.toCommand(env));
  }