test(engine): add failing tests for incorrectly executed output mapping

- if a task is interrupted by a boundary event the output mapping
  still executed which is not expected to happen

related to #CAM-2817