TemplateQuestion Repository Tests