Graph and aggregations test