https://issues.jboss.org/browse/HORNETQ-988 - test case