Set up unit tests to run on CI
We need to create reasonable unit tests for each mode of operation of the pipeline and integrate these into the gitlab CI
We need to create reasonable unit tests for each mode of operation of the pipeline and integrate these into the gitlab CI