Fix tests to refer to task_template in TaskKeyword