bpmn2: made changes to stabilize the tests on jenkins