Added render_template_to_target test