Liverpool-Scarborough via Newton le Willows, Manchester Victoria, Stalybridge, Huddersfield, Dewsbury, Leeds, York and Malton.
Manchester Airport-Middlesbrough goes via Oxford Road to Victoria (via Ordsall Curve), and after York via Northallerton.
But there are always diversions via alternative routes for engineering work, and I expect they will go via the Calder Valley or Guide Bridge on occasion.
You can always find these things out for yourself in printed timetables or using journey planners or sites like realtimetrains.
The test routes from Manchester Longsight are different and take the sets onto the WCML for mileage accumulation runs, to either Bletchley or Carlisle.