Fix some bugs, make some improvements and add some tests.
Fix some bugs, make some improvements and add some tests.

jdhp-sap/data-pipeline-standalone-scripts,jdhp-sap/sap-cta-data-pipeline,jdhp-sap/sap-cta-data-pipeline,jdhp-sap/data-pipeline-standalone-scripts