I slightly enhanced one of the tests (TaskServiceLifeCycleBaseSyncTest.testClaimNextAvailable) to make use of user group callback. But you run into this issue maybe your test case will be more reliable than enhanced one I tried.
HTH
Reply to this message by going to Community
Start a new discussion in jBPM at Community