diff --git a/screening/sourceTest/java/ch/systemsx/cisd/openbis/dss/screening/server/plugins/jython/ScreeningJythonBasedReportingPluginTest.java b/screening/sourceTest/java/ch/systemsx/cisd/openbis/dss/screening/server/plugins/jython/ScreeningJythonBasedReportingPluginTest.java
index 6621f71bfe78f49dfc72265fe272d0de652f51f2..5f5aaa34bf5a7609c4f81229459d0cf7c6c5fe8d 100644
--- a/screening/sourceTest/java/ch/systemsx/cisd/openbis/dss/screening/server/plugins/jython/ScreeningJythonBasedReportingPluginTest.java
+++ b/screening/sourceTest/java/ch/systemsx/cisd/openbis/dss/screening/server/plugins/jython/ScreeningJythonBasedReportingPluginTest.java
@@ -108,6 +108,8 @@ public class ScreeningJythonBasedReportingPluginTest extends AbstractFileSystemT
                 {
                     one(reportingPluginScriptRunner).describe(with(iDataSetsMatcher),
                             with(any(ISimpleTableModelBuilderAdaptor.class)));
+                    
+                    one(reportingPluginScriptRunner).releaseResources();
                 }
             });
         plugin.createReport(Arrays.asList(datasetDescription1, datasetDescription2),