Completed pipeline

with tests. First pass.
Test file changes

minor