Fix a problem the before/after filters don't work when they are inserted after the target route
Add missing before/after tests with route name