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