Make test work with fixed sorting and test sorting
Set proper DNs for the S/MIME test keys. Set the second key as default.
Use setCurentKey() instead of setCurrentIndex() (which depends on sorting)
to set the currently selected key.
- GnuPG-bug-id: T6492