Fixed test not cleaning up properly
Allows any update action to happen, as long as the dependencies are met
Allows MERGE to be used inside FOREACH loops