public void TestElseIf2()
{
string template =
"<if(x)>fail1<elseif(y)>fail2<elseif(z)>works<else>fail3<endif>";
Template st = new Template(template);
st.Add("z", "blort");
string expected = "works";
string result = st.Render();
Assert.AreEqual(expected, result);
}