https://issues.apache.org/jira/browse/AMQ-5127

Add test case to show this is now fixed in 5.10