@Test
public void jsonAndPath() throws AttributeNotFoundException {

    Collection collection = Arrays.asList("jolokia","habanero");
    Stack paths = new Stack();
    paths.add("1");
    String val = (String) extractor.extractObject(converter,collection,paths,true);
    assertEquals(val, "habanero");
}