Merge pull request #67 from jimlloyd/feature/more-pipeline-wrapper-tests

Revise and add unit tests in test-pipeline-wrapper.