Fixed #22184 -- Isolated template_tests.tests