make tests work with redirect when there are no backends