diff --git a/bob/ip/binseg/test/test_cli.py b/bob/ip/binseg/test/test_cli.py
index decd28fd4b7be132786e547bf14ef03f6fc63d7a..52b0864dcfbef95f2a1d4f1e3d4cfae639c2b013 100644
--- a/bob/ip/binseg/test/test_cli.py
+++ b/bob/ip/binseg/test/test_cli.py
@@ -343,12 +343,12 @@ def _check_predict(runner):
         _assert_exit_0(result)
 
         # check predictions are there
-        basedir = os.path.join(output_folder, "stare-images")
+        basedir = os.path.join(output_folder, "test", "stare-images")
         assert os.path.exists(basedir)
         nose.tools.eq_(len(fnmatch.filter(os.listdir(basedir), "*.hdf5")), 10)
 
         # check overlayed images are there (since we requested them)
-        basedir = os.path.join(overlay_folder, "stare-images")
+        basedir = os.path.join(overlay_folder, "test", "stare-images")
         assert os.path.exists(basedir)
         nose.tools.eq_(len(fnmatch.filter(os.listdir(basedir), "*.png")), 10)