added abstract class for aggregation test cases