Fix route-in-options url error

And add more tests to the route filter behaviour