Test helper methods in templating system