Fixed a type hinting issue.
Filled out a skeleton test of QueryAggregateCondition.