Fix tests for routeMapper