Verify gpgpwd's return value
Added a test for clipboard support