Fix the PKCS12 str/unicode usage in tests
5 files changed