Test value printing of template constructs