diff --git a/.gitignore b/.gitignore
index 2cfd63149241e0a8f1fbf0bd41a61ac369f25bfb..d21e742f4f76ceaa10a556b0e385cf2e1d4d5546 100644
--- a/.gitignore
+++ b/.gitignore
@@ -26,4 +26,5 @@ slurm_tmp*
 *egg*
 docs/source/available_notebooks.rst
 docs/build
-
+docs/source/_notebooks/*
+docs/source/test_rsts/*
diff --git a/docs/source/_static/css/test_decorators.css b/docs/source/_static/css/test_decorators.css
new file mode 100644
index 0000000000000000000000000000000000000000..01a6d7a484d171a57f775b728c685fd6a5ae6d20
--- /dev/null
+++ b/docs/source/_static/css/test_decorators.css
@@ -0,0 +1,62 @@
+.header-passed {
+    display: inline-block;
+    width: 40px;
+    line-height: 40px;
+    border: 1px solid #196038;
+    text-align: center;
+    background-color: #91e0b4;
+    font-size: 200%;
+    font-weight: bold;
+    float: right;
+}
+
+.header-failed {
+    display: inline-block;
+    width: 40px;
+    line-height: 40px;
+    border: 1px solid #871b1b;
+    text-align: center;
+    background-color: #e09191;
+    font-size: 200%;
+    font-weight: bold;
+    float: right;
+}
+
+.header-skipped {
+    display: inline-block;
+    width: 40px;
+    line-height: 40px;
+    border: 1px solid #a59808;
+    text-align: center;
+    background-color: #f7ee8c;
+    font-size: 200%;
+    font-weight: bold;
+    float: right;
+}
+
+.passed {
+    display: inline-block;
+    width: 80px;
+    border: 1px solid #196038;
+    text-align: center;
+    background-color: #91e0b4;
+    font-weight: bold;
+}
+
+.failed {
+    display: inline-block;
+    width: 80px;
+    border: 1px solid #871b1b;
+    text-align: center;
+    background-color: #e09191;
+    font-weight: bold;
+}
+
+.skipped {
+    display: inline-block;
+    width: 80px;
+    border: 1px solid #a59808;
+    text-align: center;
+    background-color: #f7ee8c;
+    font-weight: bold;
+}
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 3dedb841bc822aaa2274c81dc8d463ce8d785da5..2e7eb82cd5d28b54997bbdb37f9c8f83b6239d49 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -39,10 +39,12 @@ extensions = [
     'sphinx.ext.viewcode',
 ]
 
+import glob
 import sys
 import os
 from subprocess import Popen
 
+
 sys.path.append(os.path.abspath("../pycalibration/"))
 p = Popen(["./makeAllDocs.sh"])
 p.communicate()
@@ -434,3 +436,145 @@ with open("available_notebooks.rst", "w") as f:
             output = check_output(nb_help).decode('utf8')
             f.write(indent(output.replace("DETECTOR", detector).replace("TYPE", caltype), " "*4))
             f.write("\n\n")
+
+# add test results
+test_artifact_dir = os.path.realpath("../../tests/artifacts")
+
+from dateutil.parser import parse
+from lxml import etree
+import tabulate
+import textwrap
+
+
+def xml_to_rst_report(xml, git_tag):
+    e = etree.fromstring(xml.encode())
+    rst = [".. include:: roles.rst"]
+    rst += [""]
+    rst += ["Test execution for {test_name} on {ex_date}"]
+    test_name, ex_date = e.get("name").split("-")
+    ex_date = parse(ex_date)
+    rst[-1] = rst[-1].format(test_name=test_name, ex_date=ex_date)
+    rst += ["="*len(rst[-1])]
+    rst += [""]
+    
+    num_tests = e.get("tests")
+    num_err = int(e.get("errors"))
+    num_fail = int(e.get("failures"))
+    num_skip = int(e.get("skipped"))
+    
+    # create a summary header
+    if num_err + num_fail == 0:
+        rst += [":header-passed:`✓`"]
+    else:
+        rst += [":header-failed:`❌`"]
+        
+    if num_skip > 0:
+        rst[-1] += ":header-skipped:`âš `"
+    rst += [""]
+
+    # give a summary
+    rst += [":Git tag: {git_tag}".format(git_tag=git_tag)]
+    rst += [":Tests: {num_tests}".format(num_tests=num_tests)]
+    rst += [":Errors: {num_err}".format(num_err=num_err)]
+    rst += [":Failures: {num_fail}".format(num_fail=num_fail)]
+    rst += [":Skipped: {num_skip}".format(num_skip=num_skip)]
+    rst += [":Duration: {duration}s".format(duration=e.get("time"))]
+    rst += [""]
+    
+    # now the details
+    rst += ["Detailed Results"]
+    rst += ["-"*len(rst[-1])]
+    rst += [""]
+    
+    detailed_failures = []
+    rows = []
+    for child in e:
+        if child.tag != "testcase":
+            continue
+        name = child.get("name")
+        extime = child.get("time")
+        status = ":passed:`passed`"
+        msg = ""
+        etype = ""
+        if len(child):  # children are pressent so test failed or skipped
+            detail = child[0]
+            etype = detail.get("type")
+            msg = detail.get("message")
+            if etype == "skip":
+                status = ":skipped:`skipped`"
+            else:
+                status= ":failed:`failed`"
+                detailed_failures.append((name, detail.text))
+        msg = "\n".join(textwrap.wrap(msg, 20))
+        row = [status, name, etype, msg, extime ]
+        rows.append(row)
+    
+    header = ["Result", "Test", "Error", "Message", "Duration (s)"]
+    tblrst =  tabulate.tabulate(rows, headers=header, tablefmt="rst")
+    rst += tblrst.split("\n")
+    rst += [""]
+    
+    for test, report in detailed_failures:
+        rst += ["Failure report for: {}".format(test)]
+        rst += ["~"*len(rst[-1])]
+        rst += [""]
+        rst += [".. code-block:: python"]
+        rst += textwrap.indent(report, " "*4).split("\n")
+        rst += [""]
+    
+    # console output
+    rst += ["Console Output"]
+    rst += ["-"*len(rst[-1])]
+    rst += [""]
+    
+    for child in e:
+        if child.tag != "system-out":
+            continue
+        
+        rst += [".. code-block:: console"]
+        rst += textwrap.indent(child.text, " "*4).split("\n")
+        
+        
+    return "\n".join(rst)
+
+def sorted_dir(folder):
+    def getmtime(name):
+        path = os.path.join(folder, name)
+        return os.path.getmtime(path)
+
+    return sorted(os.listdir(folder), key=getmtime, reverse=True)
+
+header = """
+Test Results
+************
+
+Results are organized by git commit, and sorted descending by date.
+
+Contents:
+
+.. toctree::
+   :maxdepth: 2
+   
+
+"""
+
+with open("test_results.rst", "w") as f:
+    f.write(header)
+    for commit in sorted_dir(test_artifact_dir):
+        with open("./test_rsts/{}.rst".format(commit), "w") as fr:
+            rst = [commit]
+            rst += ["+"*len(commit)]
+            rst += [""]
+            fr.write("\n".join(rst))
+            
+            xmls = glob.glob("{}/{}/*/TEST*.xml".format(test_artifact_dir, commit))
+
+            for xml in xmls:
+                with open(xml, "r") as xf:
+                    xs = xf.read()
+                    rst = xml_to_rst_report(xs, commit)
+                    fr.write(rst)
+            f.write("   test_rsts/{}\n".format(commit))
+
+def setup(app):
+    app.add_stylesheet('css/test_decorators.css')
\ No newline at end of file
diff --git a/docs/source/index.rst b/docs/source/index.rst
index 561aa4a85f1308d921af058aa6bba98131d6ccf8..953f6460dfc1c69ccb36b4c437c8c3d2336ed631 100644
--- a/docs/source/index.rst
+++ b/docs/source/index.rst
@@ -19,6 +19,7 @@ Contents:
    advanced
    tutorial
    _notebooks/index
+   test_results
 
 
 Indices and tables
diff --git a/docs/source/test_results.rst b/docs/source/test_results.rst
new file mode 100644
index 0000000000000000000000000000000000000000..b755afe8c0fbbe52a53966e786d0cc827fe98726
--- /dev/null
+++ b/docs/source/test_results.rst
@@ -0,0 +1,14 @@
+
+Test Results
+************
+
+Results are organized by git commit, and sorted descending by date.
+
+Contents:
+
+.. toctree::
+   :maxdepth: 2
+   
+
+   test_rsts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14
+   test_rsts/91ae7b03d948c11c75b80e5ffdc71e326c7591be
diff --git a/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestAGIPDCorrection/TEST-TestAGIPDCorrection-20181115215530.xml b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestAGIPDCorrection/TEST-TestAGIPDCorrection-20181115215530.xml
new file mode 100644
index 0000000000000000000000000000000000000000..5c9cee81899a217083187e3706a1dea6b752a703
--- /dev/null
+++ b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestAGIPDCorrection/TEST-TestAGIPDCorrection-20181115215530.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<testsuite errors="0" failures="1" name="TestAGIPDCorrection-20181115215530" skipped="4" tests="6" time="377.072" timestamp="2018-11-15T22:01:47">
+	<testcase classname="TestAGIPDCorrection" name="test_checksums" time="372.240" timestamp="2018-11-15T22:01:42"/>
+	<testcase classname="TestAGIPDCorrection" name="test_karabo_data" time="4.831" timestamp="2018-11-15T22:01:47">
+		<failure message="True is not false" type="AssertionError">
+<![CDATA[Traceback (most recent call last):
+  File "/home/haufs/pycalibrate_tmp/tests/correction_base.py", line 560, in test_karabo_data
+    test_train_info(first_train, "first_train")
+  File "/home/haufs/pycalibrate_tmp/tests/correction_base.py", line 555, in test_train_info
+    self.assertFalse(np.equal(cval, val).all())
+AssertionError: True is not false
+]]>		</failure>
+	</testcase>
+	<testcase classname="TestAGIPDCorrection" name="test_generate_checksums" time="0.000" timestamp="2018-11-15T21:55:30">
+		<skipped message="Artifact generation is not requested" type="skip"/>
+	</testcase>
+	<testcase classname="TestAGIPDCorrection" name="test_generate_histograms" time="0.000" timestamp="2018-11-15T21:55:30">
+		<skipped message="Artifact generation is not requested" type="skip"/>
+	</testcase>
+	<testcase classname="TestAGIPDCorrection" name="test_generate_karabo_data" time="0.000" timestamp="2018-11-15T21:55:30">
+		<skipped message="Artifact generation is not requested" type="skip"/>
+	</testcase>
+	<testcase classname="TestAGIPDCorrection" name="test_histograms" time="0.000" timestamp="2018-11-15T22:01:42">
+		<skipped message="User requested to skip histogram test" type="skip"/>
+	</testcase>
+	<system-out>
+<![CDATA[Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0412/CORR-R0412-AGIPD06-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0412/CORR-R0412-AGIPD09-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0412/CORR-R0412-AGIPD12-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0412/CORR-R0412-AGIPD07-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0412/CORR-R0412-AGIPD04-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0412/CORR-R0412-AGIPD14-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0412/CORR-R0412-AGIPD11-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0412/CORR-R0412-AGIPD05-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0412/CORR-R0412-AGIPD03-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0412/CORR-R0412-AGIPD08-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0412/CORR-R0412-AGIPD00-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0412/CORR-R0412-AGIPD15-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0412/CORR-R0412-AGIPD10-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0412/CORR-R0412-AGIPD13-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0412/CORR-R0412-AGIPD02-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0412/CORR-R0412-AGIPD01-S00000.h5
+]]>	</system-out>
+	<system-err>
+<![CDATA[]]>	</system-err>
+</testsuite>
diff --git a/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD00-S00000.h5.md5 b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD00-S00000.h5.md5
new file mode 100644
index 0000000000000000000000000000000000000000..9b50b55c8b7d0b2b7fda40b8eb80a71f24c777d3
--- /dev/null
+++ b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD00-S00000.h5.md5
@@ -0,0 +1 @@
+6781e0baec8d65b9a95a3e879a5098d1
\ No newline at end of file
diff --git a/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD01-S00000.h5.hist.npz b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD01-S00000.h5.hist.npz
new file mode 100644
index 0000000000000000000000000000000000000000..f9788142174572d051964ea900b3b50e67999f49
Binary files /dev/null and b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD01-S00000.h5.hist.npz differ
diff --git a/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD01-S00000.h5.md5 b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD01-S00000.h5.md5
new file mode 100644
index 0000000000000000000000000000000000000000..28029070dff9a807b7cdf7c587180471cded0c4e
--- /dev/null
+++ b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD01-S00000.h5.md5
@@ -0,0 +1 @@
+b789813aa8b5e74b7fe352d32c7633bf
\ No newline at end of file
diff --git a/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD02-S00000.h5.hist.npz b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD02-S00000.h5.hist.npz
new file mode 100644
index 0000000000000000000000000000000000000000..79c0af9c60bc0d67cd4ed50cfa4898d22328e1bd
Binary files /dev/null and b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD02-S00000.h5.hist.npz differ
diff --git a/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD02-S00000.h5.md5 b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD02-S00000.h5.md5
new file mode 100644
index 0000000000000000000000000000000000000000..1d8c98b524321b09a9186eee9ec138ccb0a9fc9a
--- /dev/null
+++ b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD02-S00000.h5.md5
@@ -0,0 +1 @@
+ede0b8139cc6170c1e92c42de18e09b4
\ No newline at end of file
diff --git a/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD03-S00000.h5.hist.npz b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD03-S00000.h5.hist.npz
new file mode 100644
index 0000000000000000000000000000000000000000..42529df96810c6edf9a9ae94af713a52a48bbab6
Binary files /dev/null and b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD03-S00000.h5.hist.npz differ
diff --git a/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD03-S00000.h5.md5 b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD03-S00000.h5.md5
new file mode 100644
index 0000000000000000000000000000000000000000..9cab4917f5e2a3df4f66088207d70bc44b69c432
--- /dev/null
+++ b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD03-S00000.h5.md5
@@ -0,0 +1 @@
+dbcd5d707986a078af91cbeae8ee95a9
\ No newline at end of file
diff --git a/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD04-S00000.h5.hist.npz b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD04-S00000.h5.hist.npz
new file mode 100644
index 0000000000000000000000000000000000000000..d1d4b4de65d84dd260dd261817fc34a6b6015c01
Binary files /dev/null and b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD04-S00000.h5.hist.npz differ
diff --git a/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD04-S00000.h5.md5 b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD04-S00000.h5.md5
new file mode 100644
index 0000000000000000000000000000000000000000..ac142908f7cbe5c1f5ea98e46bfe1f48b71c3490
--- /dev/null
+++ b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD04-S00000.h5.md5
@@ -0,0 +1 @@
+4855496817bedc62d05a1ff93dc74358
\ No newline at end of file
diff --git a/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD05-S00000.h5.md5 b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD05-S00000.h5.md5
new file mode 100644
index 0000000000000000000000000000000000000000..9b50b55c8b7d0b2b7fda40b8eb80a71f24c777d3
--- /dev/null
+++ b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD05-S00000.h5.md5
@@ -0,0 +1 @@
+6781e0baec8d65b9a95a3e879a5098d1
\ No newline at end of file
diff --git a/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD06-S00000.h5.hist.npz b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD06-S00000.h5.hist.npz
new file mode 100644
index 0000000000000000000000000000000000000000..b0084ae758d364850462a2feb17989d8b34202ae
Binary files /dev/null and b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD06-S00000.h5.hist.npz differ
diff --git a/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD06-S00000.h5.md5 b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD06-S00000.h5.md5
new file mode 100644
index 0000000000000000000000000000000000000000..b619738e04e0fb7b1a7db90531b1647300b85797
--- /dev/null
+++ b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD06-S00000.h5.md5
@@ -0,0 +1 @@
+daf8f127528d8c90071e5006df5f14f5
\ No newline at end of file
diff --git a/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD07-S00000.h5.hist.npz b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD07-S00000.h5.hist.npz
new file mode 100644
index 0000000000000000000000000000000000000000..54a5886968756e0353655e8e27dcee676e43449e
Binary files /dev/null and b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD07-S00000.h5.hist.npz differ
diff --git a/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD07-S00000.h5.md5 b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD07-S00000.h5.md5
new file mode 100644
index 0000000000000000000000000000000000000000..065a763bb0f80127280f93ac038706dbf303530e
--- /dev/null
+++ b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD07-S00000.h5.md5
@@ -0,0 +1 @@
+4cdb650a484e28686b09b77a38902883
\ No newline at end of file
diff --git a/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD08-S00000.h5.hist.npz b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD08-S00000.h5.hist.npz
new file mode 100644
index 0000000000000000000000000000000000000000..abea4c57002265bef275997646d86949e171ded9
Binary files /dev/null and b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD08-S00000.h5.hist.npz differ
diff --git a/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD08-S00000.h5.md5 b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD08-S00000.h5.md5
new file mode 100644
index 0000000000000000000000000000000000000000..24dbc372903ec621305fa5b3d837f5a90fac4391
--- /dev/null
+++ b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD08-S00000.h5.md5
@@ -0,0 +1 @@
+d12f2ff51aa988a7093e4c33f62b97d3
\ No newline at end of file
diff --git a/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD09-S00000.h5.hist.npz b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD09-S00000.h5.hist.npz
new file mode 100644
index 0000000000000000000000000000000000000000..6c94c415bc23936c721046c0764cac34c37b50d2
Binary files /dev/null and b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD09-S00000.h5.hist.npz differ
diff --git a/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD09-S00000.h5.md5 b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD09-S00000.h5.md5
new file mode 100644
index 0000000000000000000000000000000000000000..9d5a9a5d2c3987f680c24fd24ca9e2d864f37041
--- /dev/null
+++ b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD09-S00000.h5.md5
@@ -0,0 +1 @@
+69cf8cb963fe550768cedeb215479195
\ No newline at end of file
diff --git a/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD10-S00000.h5.md5 b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD10-S00000.h5.md5
new file mode 100644
index 0000000000000000000000000000000000000000..9b50b55c8b7d0b2b7fda40b8eb80a71f24c777d3
--- /dev/null
+++ b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD10-S00000.h5.md5
@@ -0,0 +1 @@
+6781e0baec8d65b9a95a3e879a5098d1
\ No newline at end of file
diff --git a/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD11-S00000.h5.hist.npz b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD11-S00000.h5.hist.npz
new file mode 100644
index 0000000000000000000000000000000000000000..3ca4bae1361efe880d90e8a4bfbead49594c7e12
Binary files /dev/null and b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD11-S00000.h5.hist.npz differ
diff --git a/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD11-S00000.h5.md5 b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD11-S00000.h5.md5
new file mode 100644
index 0000000000000000000000000000000000000000..6013a7350ebef40234779d2a22bc8873fe2b2ac9
--- /dev/null
+++ b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD11-S00000.h5.md5
@@ -0,0 +1 @@
+535e848f5fdff16d274523fd6cf9e4aa
\ No newline at end of file
diff --git a/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD12-S00000.h5.hist.npz b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD12-S00000.h5.hist.npz
new file mode 100644
index 0000000000000000000000000000000000000000..849eb501ae3c711cd2f1e2be60b8065c7dc8f5df
Binary files /dev/null and b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD12-S00000.h5.hist.npz differ
diff --git a/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD12-S00000.h5.md5 b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD12-S00000.h5.md5
new file mode 100644
index 0000000000000000000000000000000000000000..a7c966d840a57dd315a6f0f28408b278d9f5485d
--- /dev/null
+++ b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD12-S00000.h5.md5
@@ -0,0 +1 @@
+e5c138044f9b04016794c2c3c8e71d4a
\ No newline at end of file
diff --git a/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD13-S00000.h5.hist.npz b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD13-S00000.h5.hist.npz
new file mode 100644
index 0000000000000000000000000000000000000000..5a1d4beb741097520f22c5c26fa6b5603e791139
Binary files /dev/null and b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD13-S00000.h5.hist.npz differ
diff --git a/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD13-S00000.h5.md5 b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD13-S00000.h5.md5
new file mode 100644
index 0000000000000000000000000000000000000000..78edf8c15e207e9f2143359b3d58fc3f0a5c181e
--- /dev/null
+++ b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD13-S00000.h5.md5
@@ -0,0 +1 @@
+beab486ba1cc99526634926f73e4e978
\ No newline at end of file
diff --git a/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD14-S00000.h5.hist.npz b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD14-S00000.h5.hist.npz
new file mode 100644
index 0000000000000000000000000000000000000000..53b5472df1d52d3210f7e0377e3d379ca8eb1a76
Binary files /dev/null and b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD14-S00000.h5.hist.npz differ
diff --git a/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD14-S00000.h5.md5 b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD14-S00000.h5.md5
new file mode 100644
index 0000000000000000000000000000000000000000..04de7146def69ae17020b364133dd6c2d3b76e44
--- /dev/null
+++ b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD14-S00000.h5.md5
@@ -0,0 +1 @@
+7a341c0321ab6390b05cd6c943763947
\ No newline at end of file
diff --git a/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD15-S00000.h5.hist.npz b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD15-S00000.h5.hist.npz
new file mode 100644
index 0000000000000000000000000000000000000000..304a06c383165a0ddc59afe9a2ed500f53745e5e
Binary files /dev/null and b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD15-S00000.h5.hist.npz differ
diff --git a/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD15-S00000.h5.md5 b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD15-S00000.h5.md5
new file mode 100644
index 0000000000000000000000000000000000000000..288ef121d7f70c42675de2b0eac7261ebd312481
--- /dev/null
+++ b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/CORR-R0154-LPD15-S00000.h5.md5
@@ -0,0 +1 @@
+24eaf682ab1eb2eff6871d0eda23d44a
\ No newline at end of file
diff --git a/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/TEST-TestLPDCorrection-20181115195331.xml b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/TEST-TestLPDCorrection-20181115195331.xml
new file mode 100644
index 0000000000000000000000000000000000000000..1dac824258e5a99a2c73388174d7fb90170ee95c
--- /dev/null
+++ b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/TEST-TestLPDCorrection-20181115195331.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<testsuite errors="0" failures="0" name="TestLPDCorrection-20181115195331" skipped="0" tests="6" time="484.731" timestamp="2018-11-15T20:01:36">
+	<testcase classname="TestLPDCorrection" name="test_generate_checksums" time="103.610" timestamp="2018-11-15T19:55:15"/>
+	<testcase classname="TestLPDCorrection" name="test_generate_histograms" time="126.926" timestamp="2018-11-15T19:57:22"/>
+	<testcase classname="TestLPDCorrection" name="test_generate_karabo_data" time="10.008" timestamp="2018-11-15T19:57:32"/>
+	<testcase classname="TestLPDCorrection" name="test_checksums" time="106.007" timestamp="2018-11-15T19:59:18"/>
+	<testcase classname="TestLPDCorrection" name="test_histograms" time="129.034" timestamp="2018-11-15T20:01:27"/>
+	<testcase classname="TestLPDCorrection" name="test_karabo_data" time="9.146" timestamp="2018-11-15T20:01:36"/>
+	<system-out>
+<![CDATA[Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD13-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD10-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD12-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD09-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD05-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD07-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD03-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD01-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD04-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD02-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD11-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD00-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD06-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD15-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD14-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD08-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD13-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD10-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD12-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD09-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD05-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD07-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD03-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD01-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD04-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD02-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD11-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD00-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD06-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD15-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD14-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD08-S00000.h5
+]]>	</system-out>
+	<system-err>
+<![CDATA[Skipping file /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD10-S00000.h5
+  (error was: 'Unable to open object (component not found)')
+Skipping file /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD05-S00000.h5
+  (error was: 'Unable to open object (component not found)')
+Skipping file /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD00-S00000.h5
+  (error was: 'Unable to open object (component not found)')
+Skipping file /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD10-S00000.h5
+  (error was: 'Unable to open object (component not found)')
+Skipping file /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD05-S00000.h5
+  (error was: 'Unable to open object (component not found)')
+Skipping file /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD00-S00000.h5
+  (error was: 'Unable to open object (component not found)')
+]]>	</system-err>
+</testsuite>
diff --git a/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/karabo.data b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/karabo.data
new file mode 100644
index 0000000000000000000000000000000000000000..e614606eba3bb331efa1493aba119a619d8ab98c
Binary files /dev/null and b/tests/artifacts/4962d288a1d6e6b6054fc5440c39ac77e5df5a14/TestLPDCorrection/karabo.data differ
diff --git a/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD00-S00000.h5.hist.npz b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD00-S00000.h5.hist.npz
new file mode 100644
index 0000000000000000000000000000000000000000..15cb0ecb3e219d1701294bfdf0fe3f5cb5d208e7
Binary files /dev/null and b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD00-S00000.h5.hist.npz differ
diff --git a/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD00-S00000.h5.md5 b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD00-S00000.h5.md5
new file mode 100644
index 0000000000000000000000000000000000000000..9b50b55c8b7d0b2b7fda40b8eb80a71f24c777d3
--- /dev/null
+++ b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD00-S00000.h5.md5
@@ -0,0 +1 @@
+6781e0baec8d65b9a95a3e879a5098d1
\ No newline at end of file
diff --git a/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD01-S00000.h5.hist.npz b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD01-S00000.h5.hist.npz
new file mode 100644
index 0000000000000000000000000000000000000000..f6032d60f75b3070b44ca4e70d2fdc23a06a9c95
Binary files /dev/null and b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD01-S00000.h5.hist.npz differ
diff --git a/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD01-S00000.h5.md5 b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD01-S00000.h5.md5
new file mode 100644
index 0000000000000000000000000000000000000000..28029070dff9a807b7cdf7c587180471cded0c4e
--- /dev/null
+++ b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD01-S00000.h5.md5
@@ -0,0 +1 @@
+b789813aa8b5e74b7fe352d32c7633bf
\ No newline at end of file
diff --git a/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD02-S00000.h5.hist.npz b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD02-S00000.h5.hist.npz
new file mode 100644
index 0000000000000000000000000000000000000000..24d7e301a855118559805d5a110b0421ac5c6fad
Binary files /dev/null and b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD02-S00000.h5.hist.npz differ
diff --git a/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD02-S00000.h5.md5 b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD02-S00000.h5.md5
new file mode 100644
index 0000000000000000000000000000000000000000..1d8c98b524321b09a9186eee9ec138ccb0a9fc9a
--- /dev/null
+++ b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD02-S00000.h5.md5
@@ -0,0 +1 @@
+ede0b8139cc6170c1e92c42de18e09b4
\ No newline at end of file
diff --git a/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD03-S00000.h5.hist.npz b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD03-S00000.h5.hist.npz
new file mode 100644
index 0000000000000000000000000000000000000000..5513c3ad69d5abe4f2e43c1e41a108e4e6d05f5f
Binary files /dev/null and b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD03-S00000.h5.hist.npz differ
diff --git a/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD03-S00000.h5.md5 b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD03-S00000.h5.md5
new file mode 100644
index 0000000000000000000000000000000000000000..9cab4917f5e2a3df4f66088207d70bc44b69c432
--- /dev/null
+++ b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD03-S00000.h5.md5
@@ -0,0 +1 @@
+dbcd5d707986a078af91cbeae8ee95a9
\ No newline at end of file
diff --git a/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD04-S00000.h5.hist.npz b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD04-S00000.h5.hist.npz
new file mode 100644
index 0000000000000000000000000000000000000000..b4b9ce3634eb16ce0c181642f22d6abe28d8455a
Binary files /dev/null and b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD04-S00000.h5.hist.npz differ
diff --git a/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD04-S00000.h5.md5 b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD04-S00000.h5.md5
new file mode 100644
index 0000000000000000000000000000000000000000..ac142908f7cbe5c1f5ea98e46bfe1f48b71c3490
--- /dev/null
+++ b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD04-S00000.h5.md5
@@ -0,0 +1 @@
+4855496817bedc62d05a1ff93dc74358
\ No newline at end of file
diff --git a/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD05-S00000.h5.hist.npz b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD05-S00000.h5.hist.npz
new file mode 100644
index 0000000000000000000000000000000000000000..15cb0ecb3e219d1701294bfdf0fe3f5cb5d208e7
Binary files /dev/null and b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD05-S00000.h5.hist.npz differ
diff --git a/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD05-S00000.h5.md5 b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD05-S00000.h5.md5
new file mode 100644
index 0000000000000000000000000000000000000000..9b50b55c8b7d0b2b7fda40b8eb80a71f24c777d3
--- /dev/null
+++ b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD05-S00000.h5.md5
@@ -0,0 +1 @@
+6781e0baec8d65b9a95a3e879a5098d1
\ No newline at end of file
diff --git a/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD06-S00000.h5.hist.npz b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD06-S00000.h5.hist.npz
new file mode 100644
index 0000000000000000000000000000000000000000..eb2bc4c0eace2fa859afcc306f13b7f1c788e397
Binary files /dev/null and b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD06-S00000.h5.hist.npz differ
diff --git a/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD06-S00000.h5.md5 b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD06-S00000.h5.md5
new file mode 100644
index 0000000000000000000000000000000000000000..b619738e04e0fb7b1a7db90531b1647300b85797
--- /dev/null
+++ b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD06-S00000.h5.md5
@@ -0,0 +1 @@
+daf8f127528d8c90071e5006df5f14f5
\ No newline at end of file
diff --git a/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD07-S00000.h5.hist.npz b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD07-S00000.h5.hist.npz
new file mode 100644
index 0000000000000000000000000000000000000000..619c4ec0cf5a7a61b7e8c4a15dbc32fcf8229b39
Binary files /dev/null and b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD07-S00000.h5.hist.npz differ
diff --git a/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD07-S00000.h5.md5 b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD07-S00000.h5.md5
new file mode 100644
index 0000000000000000000000000000000000000000..065a763bb0f80127280f93ac038706dbf303530e
--- /dev/null
+++ b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD07-S00000.h5.md5
@@ -0,0 +1 @@
+4cdb650a484e28686b09b77a38902883
\ No newline at end of file
diff --git a/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD08-S00000.h5.hist.npz b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD08-S00000.h5.hist.npz
new file mode 100644
index 0000000000000000000000000000000000000000..1e516d70acf0c7b2df13e70688f9502e2501e281
Binary files /dev/null and b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD08-S00000.h5.hist.npz differ
diff --git a/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD08-S00000.h5.md5 b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD08-S00000.h5.md5
new file mode 100644
index 0000000000000000000000000000000000000000..24dbc372903ec621305fa5b3d837f5a90fac4391
--- /dev/null
+++ b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD08-S00000.h5.md5
@@ -0,0 +1 @@
+d12f2ff51aa988a7093e4c33f62b97d3
\ No newline at end of file
diff --git a/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD09-S00000.h5.hist.npz b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD09-S00000.h5.hist.npz
new file mode 100644
index 0000000000000000000000000000000000000000..9c7dc2e86ffde2337d86b89d021df79bfe8392b9
Binary files /dev/null and b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD09-S00000.h5.hist.npz differ
diff --git a/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD09-S00000.h5.md5 b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD09-S00000.h5.md5
new file mode 100644
index 0000000000000000000000000000000000000000..9d5a9a5d2c3987f680c24fd24ca9e2d864f37041
--- /dev/null
+++ b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD09-S00000.h5.md5
@@ -0,0 +1 @@
+69cf8cb963fe550768cedeb215479195
\ No newline at end of file
diff --git a/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD10-S00000.h5.hist.npz b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD10-S00000.h5.hist.npz
new file mode 100644
index 0000000000000000000000000000000000000000..15cb0ecb3e219d1701294bfdf0fe3f5cb5d208e7
Binary files /dev/null and b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD10-S00000.h5.hist.npz differ
diff --git a/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD10-S00000.h5.md5 b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD10-S00000.h5.md5
new file mode 100644
index 0000000000000000000000000000000000000000..9b50b55c8b7d0b2b7fda40b8eb80a71f24c777d3
--- /dev/null
+++ b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD10-S00000.h5.md5
@@ -0,0 +1 @@
+6781e0baec8d65b9a95a3e879a5098d1
\ No newline at end of file
diff --git a/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD11-S00000.h5.hist.npz b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD11-S00000.h5.hist.npz
new file mode 100644
index 0000000000000000000000000000000000000000..ddb84b57f7023f730c00a00c026efb006f74dc85
Binary files /dev/null and b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD11-S00000.h5.hist.npz differ
diff --git a/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD11-S00000.h5.md5 b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD11-S00000.h5.md5
new file mode 100644
index 0000000000000000000000000000000000000000..6013a7350ebef40234779d2a22bc8873fe2b2ac9
--- /dev/null
+++ b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD11-S00000.h5.md5
@@ -0,0 +1 @@
+535e848f5fdff16d274523fd6cf9e4aa
\ No newline at end of file
diff --git a/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD12-S00000.h5.hist.npz b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD12-S00000.h5.hist.npz
new file mode 100644
index 0000000000000000000000000000000000000000..1d6b8281ffed948fb5a0e572609f232516e42a0a
Binary files /dev/null and b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD12-S00000.h5.hist.npz differ
diff --git a/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD12-S00000.h5.md5 b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD12-S00000.h5.md5
new file mode 100644
index 0000000000000000000000000000000000000000..a7c966d840a57dd315a6f0f28408b278d9f5485d
--- /dev/null
+++ b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD12-S00000.h5.md5
@@ -0,0 +1 @@
+e5c138044f9b04016794c2c3c8e71d4a
\ No newline at end of file
diff --git a/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD13-S00000.h5.hist.npz b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD13-S00000.h5.hist.npz
new file mode 100644
index 0000000000000000000000000000000000000000..eb7558e7e56c0a1383178cfc7bd6f4fdef9a8f21
Binary files /dev/null and b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD13-S00000.h5.hist.npz differ
diff --git a/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD13-S00000.h5.md5 b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD13-S00000.h5.md5
new file mode 100644
index 0000000000000000000000000000000000000000..78edf8c15e207e9f2143359b3d58fc3f0a5c181e
--- /dev/null
+++ b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD13-S00000.h5.md5
@@ -0,0 +1 @@
+beab486ba1cc99526634926f73e4e978
\ No newline at end of file
diff --git a/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD14-S00000.h5.hist.npz b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD14-S00000.h5.hist.npz
new file mode 100644
index 0000000000000000000000000000000000000000..949c2229a57f04c9116844bdea73c1d26f05febc
Binary files /dev/null and b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD14-S00000.h5.hist.npz differ
diff --git a/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD14-S00000.h5.md5 b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD14-S00000.h5.md5
new file mode 100644
index 0000000000000000000000000000000000000000..04de7146def69ae17020b364133dd6c2d3b76e44
--- /dev/null
+++ b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD14-S00000.h5.md5
@@ -0,0 +1 @@
+7a341c0321ab6390b05cd6c943763947
\ No newline at end of file
diff --git a/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD15-S00000.h5.hist.npz b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD15-S00000.h5.hist.npz
new file mode 100644
index 0000000000000000000000000000000000000000..aa35c9c539ce1c8fdfd9bbb505e084cbbbed143d
Binary files /dev/null and b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD15-S00000.h5.hist.npz differ
diff --git a/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD15-S00000.h5.md5 b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD15-S00000.h5.md5
new file mode 100644
index 0000000000000000000000000000000000000000..288ef121d7f70c42675de2b0eac7261ebd312481
--- /dev/null
+++ b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/CORR-R0154-LPD15-S00000.h5.md5
@@ -0,0 +1 @@
+24eaf682ab1eb2eff6871d0eda23d44a
\ No newline at end of file
diff --git a/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/TEST-TestLPDCorrection-20181115193622.xml b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/TEST-TestLPDCorrection-20181115193622.xml
new file mode 100644
index 0000000000000000000000000000000000000000..875653dc76ed6232612d8cab4dd05a2f08a7f925
--- /dev/null
+++ b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/TEST-TestLPDCorrection-20181115193622.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<testsuite errors="0" failures="0" name="TestLPDCorrection-20181115193622" skipped="3" tests="6" time="240.430" timestamp="2018-11-15T19:40:23">
+	<testcase classname="TestLPDCorrection" name="test_checksums" time="104.153" timestamp="2018-11-15T19:38:06"/>
+	<testcase classname="TestLPDCorrection" name="test_histograms" time="126.625" timestamp="2018-11-15T19:40:13"/>
+	<testcase classname="TestLPDCorrection" name="test_karabo_data" time="9.651" timestamp="2018-11-15T19:40:23"/>
+	<testcase classname="TestLPDCorrection" name="test_generate_checksums" time="0.000" timestamp="2018-11-15T19:36:22">
+		<skipped message="Artifact generation is not requested" type="skip"/>
+	</testcase>
+	<testcase classname="TestLPDCorrection" name="test_generate_histograms" time="0.000" timestamp="2018-11-15T19:36:22">
+		<skipped message="Artifact generation is not requested" type="skip"/>
+	</testcase>
+	<testcase classname="TestLPDCorrection" name="test_generate_karabo_data" time="0.000" timestamp="2018-11-15T19:36:22">
+		<skipped message="Artifact generation is not requested" type="skip"/>
+	</testcase>
+	<system-out>
+<![CDATA[Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD13-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD10-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD12-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD09-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD05-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD07-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD03-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD01-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD04-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD02-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD11-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD00-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD06-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD15-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD14-S00000.h5
+Creating MD5 checksum of: /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD08-S00000.h5
+]]>	</system-out>
+	<system-err>
+<![CDATA[Skipping file /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD10-S00000.h5
+  (error was: 'Unable to open object (component not found)')
+Skipping file /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD05-S00000.h5
+  (error was: 'Unable to open object (component not found)')
+Skipping file /gpfs/exfel/data/scratch/haufs/test//r0154/CORR-R0154-LPD00-S00000.h5
+  (error was: 'Unable to open object (component not found)')
+]]>	</system-err>
+</testsuite>
diff --git a/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/karabo.data b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/karabo.data
new file mode 100644
index 0000000000000000000000000000000000000000..ae7f543b910973258b42c900d8fbe9fae359e345
Binary files /dev/null and b/tests/artifacts/91ae7b03d948c11c75b80e5ffdc71e326c7591be/TestLPDCorrection/karabo.data differ
diff --git a/tests/correction_base.py b/tests/correction_base.py
index 56990236362634ea2f137fe7282f5622db8a9e62..6efb9b39d1e371fbb13d944d908835bfc5d0faf3 100644
--- a/tests/correction_base.py
+++ b/tests/correction_base.py
@@ -21,13 +21,13 @@ np.warnings.filterwarnings('ignore')
 
 parser = argparse.ArgumentParser()
 parser.add_argument('--generate', action="store_true", default=False,
-                    help="Set this flag to generte new artifacts from " +
+                    help="Set this flag to generate new artifacts from " +
                     "the test. These will be placed in the artifact " +
                     "directory, under the latest commit your git " +
                     "repository is on. This will launch the " +
                     "notebook under test first.")
 parser.add_argument('--generate-wo-execution', action="store_true",
-                    default=False, help="Set this flag to generte new " +
+                    default=False, help="Set this flag to generate new " +
                     "artifacts from the test. These will be placed in " +
                     "the artifact directory, under the latest commit " +
                     "your git repository is on. This will not launch " +
@@ -45,7 +45,8 @@ parser.add_argument('--skip-karabo-data', action="store_true", default=False,
                     help="Skip karabo_data tests (and artifact generation)")
 parser.add_argument('--artefact-dir', type=str, default="./artifacts/",
                     help="Set directory to place artifacts in.")
-parser.add_argument('unittest_args', nargs='*')
+parser.add_argument('unittest_args', nargs='*',
+                    help="Any arguments to be passed to unittest")
 args = parser.parse_args()
 
 
@@ -64,9 +65,7 @@ def get_last_commit():
     """ Return the last commit from the git repo
     """
     r = Repo(os.path.dirname(os.path.realpath(__file__)) + "/..")
-    last_commit = None
-    for last_commit in r.iter_commits():
-        pass
+    last_commit = next(r.iter_commits())
     return last_commit
 
 
@@ -90,10 +89,9 @@ def get_artifact_comp_dir(cls):
     :param cls: Test class
     """
     r = Repo(os.path.dirname(os.path.realpath(__file__)) + "/..")
-    all_commits = list(r.iter_commits())
     test_name = cls.__name__
     art_base = os.path.realpath(args.artefact_dir)
-    for commit in reversed(all_commits):
+    for commit in r.iter_commits():
         path = "{}/{}/{}".format(art_base, commit, test_name)
         if os.path.exists(path):
             return path
diff --git a/tests/test_agipd.py b/tests/test_agipd.py
index 9d6219e1c567a0ecbcc830d96f4fe4e3a4325824..c0faeac8e7c6440a36029d5dbf10e30dd14e7c73 100644
--- a/tests/test_agipd.py
+++ b/tests/test_agipd.py
@@ -2,8 +2,9 @@ import sys
 import unittest
 
 import numpy as np
+import xmlrunner
 
-from correction_base import CorrectionTestBase, args
+from correction_base import CorrectionTestBase, args, get_artifact_dir
 
 
 class TestAGIPDCorrection(CorrectionTestBase, unittest.TestCase):
@@ -59,4 +60,7 @@ if __name__ == '__main__':
     ln = lambda f: "generate" not in f
     lncmp = lambda a, b: (ln(a) > ln(b)) - (ln(a) < ln(b))
     loader.sortTestMethodsUsing = lncmp
-    unittest.main(testLoader=loader, verbosity=3)
+    output = get_artifact_dir(TestAGIPDCorrection)
+    unittest.main(testLoader=loader,
+                  testRunner=xmlrunner.XMLTestRunner(output=output),
+                  verbosity=3, failfast=False, buffer=False, catchbreak=False)
diff --git a/tests/test_lpd.py b/tests/test_lpd.py
index 5607cd8cdc27646ed8a95ccf4a25ac3ce72a174b..ce710c66891a12924368db8f037c11d6b4585b5c 100644
--- a/tests/test_lpd.py
+++ b/tests/test_lpd.py
@@ -2,8 +2,9 @@ import sys
 import unittest
 
 import numpy as np
+import xmlrunner
 
-from correction_base import CorrectionTestBase, args
+from correction_base import CorrectionTestBase, args, get_artifact_dir
 
 np.warnings.filterwarnings('ignore')
 
@@ -61,4 +62,7 @@ if __name__ == '__main__':
     ln = lambda f: "generate" not in f
     lncmp = lambda a, b: (ln(a) > ln(b)) - (ln(a) < ln(b))
     loader.sortTestMethodsUsing = lncmp
-    unittest.main(testLoader=loader, verbosity=3)
+    output = get_artifact_dir(TestLPDCorrection)
+    unittest.main(testLoader=loader,
+                  testRunner=xmlrunner.XMLTestRunner(output=output),
+                  verbosity=3, failfast=False, buffer=False, catchbreak=False)