I haven't yet reviewed the tests you've added, so maybe this is complete. But I'm pretty sure the previous test coverage for this was inadequate. For example, we should be covering the case where taskA depends on taskB, and taskB modifies the configurations of taskA during execution.
@bigdaz: