tests: Conditionals returns depending on rabbit version