Fix string flags in test_task.go