diff --git a/rest-api/src/test/java/lcsb/mapviewer/api/projects/models/bioEntities/elements/ElementRestImplTest.java b/rest-api/src/test/java/lcsb/mapviewer/api/projects/models/bioEntities/elements/ElementRestImplTest.java
index 9353df7cbcc483e4710c458f510ffc024cd65b70..61b7458f8ec4fbdf8f18ea7f8a400737aca97f5f 100644
--- a/rest-api/src/test/java/lcsb/mapviewer/api/projects/models/bioEntities/elements/ElementRestImplTest.java
+++ b/rest-api/src/test/java/lcsb/mapviewer/api/projects/models/bioEntities/elements/ElementRestImplTest.java
@@ -178,7 +178,7 @@ public class ElementRestImplTest extends RestTestFunctions {
   }
 
   private ElementsRestImpl createMockElementRest(String string, Boolean annotate) throws Exception {
-    Model model = super.getModelForFile(string, true);
+    Model model = super.getModelForFile(string, !annotate);
     if (annotate) {
       try {
         Protein protein = new GenericProtein("SNCA");