Cleanup + test for the CertificatePathBuilder.