more robust test on tasklist values