Add: Acceptance test for depends_on

Test that depends_on will restrict activation of a promise until all dependant
promises identified by promise handle are ok (either kept or repaired).

Ref: https://dev.cfengine.com/issues/5462 https://dev.cfengine.com/issues/6484