Improving the StringTemplateTraitTest and added _formatStringTemplate() to the trait.