Migrate `tests/pipeline/load.py`
Migrate tests/pipeline/load.py to the new test format.
Also solves a regression to pipeline.dependencies() introduced by the multiple targets branch.
Migrate tests/pipeline/load.py to the new test format.
Also solves a regression to pipeline.dependencies() introduced by the multiple targets branch.