jbpm session tests + some fixes