Added tests for AggregateProvider.