Edge case routing test with respect to issue #3239 / #3865