@Test
public void test_mode_opt() {

    cli.parseArguments(new String[] {""});
    assertThat(cli.properties).includes(entry("mode", "LOCAL"));
    cli.parseArguments(new String[] {"--mode=SERVER"});
    assertThat(cli.properties).includes(entry("mode", "SERVER"));
}