adding a test for single quotes in templates
(cherry picked from commit 6866ffb8400f0cbfab6fc487783ba73dba29e0d1)