Fixed #23768 -- Rewrote template tests as unit tests

`>` appears to be a typo