Improve code coverage for CertServiceClient