fix rabbitmq unit test for backup and restore