template_nested test extended