    @Test
    public void testMain()
            throws Exception
    {

        int expectedSize = 28;
        int dimensionality = 50;
        EmbeddingsPipeline.TARGET_FILE.delete();

        EmbeddingsPipeline.main(new String[] {});
        List<String> output = Files.readAllLines(EmbeddingsPipeline.TARGET_FILE.toPath());

        assertEquals(expectedSize, output.size());
        assertTrue(output.stream().allMatch(line -> line.split(" ").length == dimensionality + 1));
    }