Add test for compiled template usage.