@Test
public void testSingleTs() throws URISyntaxException, IOException {

    Path file = getResource("SingleTs");
    for (TswFactory factory : asList(oldFactory, newFactory)) {
        List<TswSeries> items = factory.loadFile(file);
        assertEquals(1, items.size());
        TswSeries single = items.get(0);
        assertEquals("Monetary Aggregate ALP (Spain)", single.name);
        assertEquals(new TsDomain(TsFrequency.Monthly, 1972, 0, 234), single.data.get().getDomain());
    }
}