Added a fair number of summarization tests, mostly to make the API more
visible so that charting is easier to correct.