@Test
public void testEmbeddedList() throws Exception {

    String itemKey = "item";
    final String expr = itemKey + ".0.0";
    final List<Object> inner = Collections.<Object>singletonList("KEY");
    List<Object> item = Collections.<Object>singletonList(inner);
    final Map<String, Object> model = Collections.<String, Object>singletonMap(itemKey, item);
    final TRenderContext context = new TRenderContext(new ByteArrayOutputStream(), model);
    assertEquals(item.toString(), context.getModelValue("item").toString());
    assertEquals(item.get(0).toString(), context.getModelValue("item.0").toString());
    context.getModelValue(expr);
    assertEquals("KEY", context.getModelValue("item.0.0"));
}