tests: aggregator: fix caps leak in unit test
1 file changed