Test fix

Previous test update wasn't producing any errors, but also wasn't removing the certificates.