Switching to Spock.
Refactor to make things a bit more testable
Unit tests for StringTemplateImpl