Added QueryAggregateOperation tests.