[TASK] Refactor and fully cover ExposedTemplateView with tests