Add regression test for #10
Merge pull request #11 from julianwachholz/template-fixes

Add regression test for #10