added tests for template helpers