Added two new tests for fix to issue JBPM-4021.