Backend selection tests

This tests how the router routes requests to backends based on the routing data.