Implement generation of a test certificate (#14)