Added basic spec test for gnupg class