    @Test
    public void readInvalidFile2() {

        LearnStatusSerializer serializer = CardFileBackend.getBackend().getSerializer();

        try {
            CardFile cardFile = new CardFile(new File("testdata/import/flashcards_ansi.txt"));
            serializer.readFlashcardsFromFile(cardFile);

            Assert.fail();
        } catch (InvalidCardFileFormatException t) {
            System.err.println(t);
        } catch (Throwable t) {
            Assert.fail();
        }
    }