Added test for template generation with AST improvement
Authored by: hotzst 2009-10-05
Parent: [r2616]
Child: [r2618]