Add unit test for S/MIME signing
Add checks for OpenSSL before trying to use it