@Test
public void testBlankName() {

    DefaultModuleDefinition def = createDef("blankname");
    try {
        def.init();
        fail();
    } catch (IOException e) {
        assertTrue(e.getMessage().contains("Missing name property"));
    }
}