@Test
public void singleAttributeAsListRead() throws Exception {

    JmxReadRequest req =
            new JmxRequestBuilder(READ,"test:type=read")
                    .attributes("attr")
                    .build();
    store.configure(new HistoryKey(req), new HistoryLimit(5, 0L));
    Map value = new HashMap();
    value.put("attr","42");
    JSONObject res = updateNTimesAsMap(req,4,value);
    assertEquals("4 history entries",3,((List) res.get("attr")).size());
}