Add tests for autonomous service rerouting