public void TestIncludeWithNestedArgs()
{
string template = "Load <box(foo(\"arg\"))>;";
Template st = new Template(template);
st.impl.NativeGroup.DefineTemplate("box", "kewl <y> daddy", new string[] { "y" });
st.impl.NativeGroup.DefineTemplate("foo", "blech <x>", new string[] { "x" });
st.Add("name", "Ter");
string expected = "Load kewl blech arg daddy;";
string result = st.Render();
Assert.AreEqual(expected, result);
}