simple test for aggregate