Make aggregator test safe for envs that don't have console