write tests for routeList()