bpmn2: made changes to stabilize tests on jenkins