Add certificate generation and test stubs.