Added robustness to the 1.3+ fix. The test task was not getting removed from checks' dependsOn, and it was calling the new test task only if the iteration order of the set happened to call the correct one.