test for gpg enc