assert_recognizes rises `Assertion` instead of `RoutingError`