Fixed test when using AMQ 5.9.0