Test case attached at first post (workflow-test-case.zip). Run mvn clean test and wait some time. Test will pass if you remove transaction from ThreadSaferyTest#startProcessTest. This way SingleSessionCommandService#execute() will start its own transaction instead joining existing.