Make new template test work with private gen-change-index