fix agg-test.sh for non-single systems