basic test case for https://issues.apache.org/activemq/browse/AMQ-1763 - but does not show the problem atm