Fix broken build and race conditions in Routing tests