Fix gpg keys cli tests

Also refactor assertTrue to a more meaningful assert helper