@Test
public void testLoad() throws IOException {

    ModuleBasedContextFactory factory = new ModuleBasedContextFactory();
    ModuleDefinitionSet set = factory.loadModules(defs, "base");
    assertNotNull(set.getApplicationContext("base"));
}