assertEquals( "sub", c.getConfigKeys()[0] );
IConfig[] list = c.getConfigBundle("sub");
assertEquals(3, list.length);
IConfig sub = list[0];
assertEquals("wow1", sub.getString("test1", "no") );
assertEquals("alf1", sub.getString("test2", "no") );
assertEquals("no", sub.getString("test3", "no") );
sub = list[1];
assertEquals("wow2", sub.getString("test1", "no") );
assertEquals("alf2", sub.getString("test2", "no") );
assertEquals("no", sub.getString("test3", "no") );
sub = list[2];
assertEquals("wow3", sub.getString("test1", "no") );
assertEquals("alf3", sub.getString("test2", "no") );
assertEquals("no", sub.getString("test3", "no") );
// change properties
c.setProperty("test1", "aloa");
c.setProperty("test3", "nix");
assertEquals("aloa", c.getString("test1", "no") );
assertEquals("alf", c.getString("test2", "no") );
assertEquals("nix", c.getString("test3", "no") );
// change config
sub = c.createConfig("sub");
sub.setProperty("test1", "aloa4");
sub.setProperty("test2", "alf4");
assertEquals("aloa4", sub.getString("test1", "no") );
assertEquals("alf4", sub.getString("test2", "no") );
assertEquals("no", sub.getString("test3", "no") );
assertEquals( 2, c.moveConfig(sub, IConfig.MOVE_UP) );
assertEquals( 3, c.moveConfig(sub, IConfig.MOVE_DOWN) );
assertEquals( 0, c.moveConfig(sub, IConfig.MOVE_FIRST) );
assertEquals( 3, c.moveConfig(sub, IConfig.MOVE_LAST) );