modify delimiters in examples
add tests for templates.