test task definition flowchart