Merge "Add X509CertificateTest in libcore tests"