Fix testSetNumItineraries test