(Maint) Update test to use proper class

The indirection actually returns a Puppet::SSL::Certificate and not an
X509 Certificate. The real certificate is available in the `content`
method of the puppet certificate.