BS-2929: add unit test
Merge branch '6.3.x' of github.com:bonitasoft/bonita-engine into 6.3.x