Test the template rendering