Add tests for krb5_sname_to_principal