fix some test problems related to gpg.conf locations