@Test(timeout = 20000)
public void test9() throws IOException
{

	// We don't test n-gram use, but least check that pointing to a
	// nonexistent/invalid folder is gracefully ignored
	InputStream in = MainTest.class.getResourceAsStream("rules/data/test1.tex");
	ByteArrayOutputStream baos = new ByteArrayOutputStream();
	PrintStream out = new PrintStream(baos);
	int ret_code = Main.mainLoop(new String[] {"--no-color", "--read-all", "--check", "en", "--languagemodel", "/tmp/foobarbaz"}, in, out, new NullPrintStream());
	String output = new String(baos.toByteArray());
	assertNotNull(output);
	assertEquals(0, ret_code);
}