Testsuite: Munge the output to fit the ad=… lines