Add an e2e test for cert generation.