Test certificate verification

Can these be represented as hexadecimal strings that you convert to byte arrays, as in the RSA tests? That'd make these long lines much shorter.