Add test case for deeply nested template paths.