Added test for compiling a template