Deal with exceptions in TestAggregator