added tests for CertificatePresenter