some more tests, bug fix in task failure