fixed statistics test
don't use fromItems, refs #7169
resolved conflict (using theirs)