@Test
public void testBadName() {

    DefaultModuleDefinition def = createDef("badname");
    try {
        def.init();
        fail();
    } catch (IOException e) {
        assertTrue(e.getMessage().contains("is expected to exist at"));
    }
}