[BUGFIX] Fix broken TemplateViewTest

The test was broken by I6f31adc1bd493f2c818b532b2394a774c17f24b7
when some imported class names were made fully qualified (and thus
pointed to non-existing classes).

Change-Id: Ic1e430b8b0cbf789440b4ff6d978942cb3d1cbe5
Related: #44710
Releases: master