Test for https://issues.jboss.org/browse/DROOLS-179

Moved test from drools to jbpm.