Fix CertificateViewsTest