Add test for certificate->generate operation.