Added edged test cases for templating with escpaed doubled braces.