Follow-up to 700112b6df4c: use /latest API endpoint in tests too