Test Cases for Certificate Generation and fetching Metadata.