Issue #18: Unit tests adapted for python-gnupg