add ClauseTest for aggregatefilter