Added test for templating helper