Add unit tests for ssl_x509_subject() and ssl_x509_subject_cn()