Finish tests for the common resources in the cert type
Add basic tests for CA, self-signed cert creation and public-key
extraction