Added test for GroupedTimingStatistics with setCreateRollupStatistics(tr...

This is a new test I've had in my sandbox for a while, relating to a query on the list about rolled-up stats generation.

Also cleans-up a warning or two in test code.