Migrates the `r3_view_compiler_template` tests to the new format. Also introduces a new matcher for unique function names. PR Close #39871
Migrates the `r3_view_compiler_template` tests to the new format. Also introduces a new matcher for unique function names. PR Close #39871