Fixed password check for GPG mode when called via ansible-playbook. Added test files