@Test(expected = IOException.class)
public void testBinFile() throws URISyntaxException, IOException {

    Path file = getResource("blog_16x16.png");
    for (TswFactory factory : asList(oldFactory, newFactory)) {
        factory.loadFile(file);
    }
}