Add table aggregation test