added tests for service aggregator