add aggregation engine with unittest, and get back consolidation engine