assertEquals(-1, prefs1.getLong("pd", -1));
assertEquals("é", prefs1.get("pe", null));
Preferences prefs2 = new PropertiesPreferences(
makeInput("pa=1\na.pb=2\na.b.pc=3\na.b2.pd=uvw\nb.pe=42"));
String[] children = prefs2.childrenNames();
Arrays.sort(children);
assertEquals("a", children[0]);
assertEquals("b", children[1]);
assertEquals(1, prefs2.getLong("pa", 0));
assertEquals(2, prefs2.node("a").getLong("pb", 0));