use printableXXX in the template generation
Fix tests