tests/aggregator: add timeout handling test for the timeout parameter