added integration test for defineAggregateDumping