"""Tests for pipeline construction and routing."""