[2.2][Routing] Trigger deprecation and refactor tests to not use deprecated methods