[patch lnst] Task: add fail_expected boolean arg