Simple self-certification generator
signature serialization on by default
update tests for serialization on signing