Fix gpg keys cli tests

Also refactor assertTrue to a more meaningful assert helper
Merge pull request #517 from elyezer/fix-gpg-tests

Fix gpg keys cli tests