Fixed parser tests for task definition.