Added additional unit test for repeated task failures