added test for gpg