test for template parser