print("stats: " + d.stats());
print(" families: " + d.getFamilies().size());
assertTrue(d.getPersons().size() > 2);
Person p1 = d.getPerson(pid1);
assertEquals("Jukka",p1.getName());
assertEquals(10,p1.getAge());
assertEquals(new Time("11.11.2011"),p1.getTs());
Family f1 = p1.getFamily();
assertNotNull(f1);
assertEquals("f1", f1.getName());
assertEquals(FamilyType.BIG, f1.getType());
assertEquals(2, p1.getFriendFamilies().size());
Person p2 = d.getPerson(pid2);
assertEquals(1, p2.getFriendFamilies().size());
assertEquals(2, f1.getFriendPersons().size());
assertEquals(1, p1.getChildren().size());
}