diff --git a/timeseriesviewer/tests.py b/timeseriesviewer/tests.py
index 6df09d83efee6391fe0b4ca2bdc49cc5f56e6ff7..002555697fbf5b276265e0ef795ba50ade429f97 100644
--- a/timeseriesviewer/tests.py
+++ b/timeseriesviewer/tests.py
@@ -44,8 +44,11 @@ class PictureTest(QMainWindow):
 
 def test_gui():
     from timeseriesviewer.main import TimeSeriesViewer
+    from timeseriesviewer import PATH_EXAMPLE_TIMESERIES
     S = TimeSeriesViewer(None)
     S.run()
+
+    S.ua_loadTSFile(path=PATH_EXAMPLE_TIMESERIES)
     pass
 
 def test_component():