Fixing generic aggregator test