diff --git a/annotation/src/test/java/lcsb/mapviewer/annotation/cache/BigFileCacheTest.java b/annotation/src/test/java/lcsb/mapviewer/annotation/cache/BigFileCacheTest.java
index 0503ae0ce6b3c217f81b7b4dc597c7d386fe6d01..8e67534c5aa7753ff539ad78df707f31ed769f2b 100644
--- a/annotation/src/test/java/lcsb/mapviewer/annotation/cache/BigFileCacheTest.java
+++ b/annotation/src/test/java/lcsb/mapviewer/annotation/cache/BigFileCacheTest.java
@@ -145,7 +145,7 @@ public class BigFileCacheTest extends AnnotationTestFunctions {
   public void testSavingToInvalidDirectory() throws Exception {
     try {
       String url = httpUrl + "?invalid";
-      Configuration.setWebAppDir("/");
+      Configuration.setWebAppDir("/some-none-existing/path/");
       bigFileCache.downloadFile(url, false, null);
       fail("Exception expected");
     } catch (IOException e) {