Make test more robust to not fail if Fred ist installed.
Added test case.
Fixed bug#4224 - Unused variable , thanks to Bernhard Schmalhofer.
Fixed: SMIME signing fail on mails with attachements (bug#10251).
Fixed: Inline images displayed as attachment in SMIME and PGP signed messages (bug#10364).