Fixed test on systems with gpg only