Avoid depending on the order of backends in the test

[#81524216]