t/testcore: do not use global a,aa for easier parallelization