Finished integrating  certainly, test cases for CertificateManager