RelatedSeveralQueryParent god = new RelatedSeveralQueryParent("god");
god.insert();
List<RelatedSeveralQueryChild> adams = new ArrayList<RelatedSeveralQueryChild>();
for(int i=0; i<100; i++){
RelatedSeveralQueryChild adam = new RelatedSeveralQueryChild("adam"+i);
adam.owner = god;
adam.insert();
adams.add(adam);
}
RelatedSeveralQueryParent godbis = Model.getByKey(RelatedSeveralQueryParent.class, god.id);
assertEquals(god, godbis);