tests: clean up test outputs for distcheck