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