test aggregateModel