IndexControllerTest: actually check if symbolic link exists

... instead of the file it points to

Change-Id: If5be76b20bbee586e7a943835b491dc4c83bd015
diff --git a/full/src/test/java/de/ids_mannheim/korap/web/controller/IndexControllerTest.java b/full/src/test/java/de/ids_mannheim/korap/web/controller/IndexControllerTest.java
index 42814e1..ceaf422 100644
--- a/full/src/test/java/de/ids_mannheim/korap/web/controller/IndexControllerTest.java
+++ b/full/src/test/java/de/ids_mannheim/korap/web/controller/IndexControllerTest.java
@@ -6,6 +6,7 @@
 import java.net.URI;
 import java.net.URISyntaxException;
 import java.nio.file.Files;
+import java.nio.file.LinkOption;
 import java.nio.file.Path;
 import java.nio.file.Paths;
 
@@ -48,7 +49,7 @@
         if (!Files.exists(vcPath)) {
             Files.createDirectory(vcPath);
         }
-        if (Files.exists(symLink)) {
+        if (Files.exists(symLink, LinkOption.NOFOLLOW_LINKS)) {
             Files.delete(symLink);
         }
         Files.createSymbolicLink(symLink, toLink);