@Test
@Parameters({"false", "true"})

public void reset(boolean experimentalMode) throws Exception {
    try (CSL citeproc = new CSL(new ListItemDataProvider(items), "ieee",
            experimentalMode)) {
        citeproc.setOutputFormat("text");
        List<Citation> a = citeproc.makeCitation(items[0].getId());
        assertEquals(0, a.get(0).getIndex());
        assertEquals("[1]", a.get(0).getText());
        Bibliography b = citeproc.makeBibliography();
        assertEquals(1, b.getEntries().length);
        citeproc.reset();
        b = citeproc.makeBibliography();
        assertEquals(0, b.getEntries().length);
    }
}