I solved both problems beginning a transaction before the test, e.g.:
(...the jbpm test..)
Of course, that's correct.
What is weird is the behaviour of JBPM 5.1 when the Transaction is not present...since it seems to work but with the "issues" reported.
It would be better to have a more clear behaviour.