@Test
public void simpleJsonExtract() throws AttributeNotFoundException {

    Date date = new Date();
    Stack stack = new Stack();
    Object result = extractor.extractObject(null,date,stack,true);
    assertEquals(result, DateUtil.toISO8601(date));
    stack.add("time");
    result = extractor.extractObject(null,date,stack,true);
    assertEquals(result,date.getTime());
}