Send 'attest' in cmd_line.  Fix tests leaving files in /tmp.