public void testListWithEscapedElements()
{
String[] values = { "test1", "test2\\,test3", "test4\\,test5" };
String listKey = "test.list";
BaseConfiguration config = new BaseConfiguration();
config.addProperty(listKey, values);
assertEquals("Wrong number of list elements", values.length, config.getList(listKey).size());
Configuration c = createConfiguration(config);
List<?> v = c.getList(listKey);
assertEquals("Wrong number of elements in list", values.length, v.size());