Update test case to remove gpg-agent files.
Properly terminate the gpg-agent after each command. Prevents the zombie apocalypse.