@Test
public void comparison() throws IOException {
// output from C-R 2.12.1
RDataReader reader = new RDataReader(topLevelContext, getClass().getResourceAsStream("expected.Rdata"));
PairList.Node contents = (Node) reader.readFile();
ListVector expected = contents.getElementAsSEXP(0);
assertThat(expected.length(), equalTo(3));
compareTree("test1.Rd", expected.get(0));