fix rabbitmq unit test for backup and restore

test:

deployed the whole oss repo and run rabbitmq unit test against latest code and it can pass the test. no issue found.