Fix unit test for Orm getRouteByName change.