diff --git a/model/src/test/java/lcsb/mapviewer/model/map/CommentTest.java b/model/src/test/java/lcsb/mapviewer/model/map/CommentTest.java
index 5e4044e69d4e5ff96a41b2a2b0094e95538412ff..53a4c9f13fe3259e7c7877abe089ed7d0b0bafc8 100644
--- a/model/src/test/java/lcsb/mapviewer/model/map/CommentTest.java
+++ b/model/src/test/java/lcsb/mapviewer/model/map/CommentTest.java
@@ -39,7 +39,6 @@ public class CommentTest extends ModelTestFunctions {
     String name = "n";
     boolean pinned = true;
     String removeReason = "rr";
-    Model submodel = new ModelFullIndexed(null);
     Integer tableId = 5;
     Class<?> tableName = Object.class;
     User user = new User();
diff --git a/model/src/test/java/lcsb/mapviewer/model/map/layout/graphics/LayerOvalTest.java b/model/src/test/java/lcsb/mapviewer/model/map/layout/graphics/LayerOvalTest.java
index b9f6e09693532363b0fea30863b93295b762cc7a..af5a6273e48a194e5c313bcd399b07cc1518b784 100644
--- a/model/src/test/java/lcsb/mapviewer/model/map/layout/graphics/LayerOvalTest.java
+++ b/model/src/test/java/lcsb/mapviewer/model/map/layout/graphics/LayerOvalTest.java
@@ -96,8 +96,6 @@ public class LayerOvalTest extends ModelTestFunctions {
     String heightParam = "72.2";
     Double height = 72.2;
 
-    String invalidNumberStr = "xxd";
-
     int id = 52;
     Color color = Color.BLACK;
 
diff --git a/model/src/test/java/lcsb/mapviewer/model/map/layout/graphics/LayerTextTest.java b/model/src/test/java/lcsb/mapviewer/model/map/layout/graphics/LayerTextTest.java
index dd50ebc9e8037e1b50d68cd1aec54dafe6c4c2dd..cdee1cb0a66c30285ef41589630f822483c4aebc 100644
--- a/model/src/test/java/lcsb/mapviewer/model/map/layout/graphics/LayerTextTest.java
+++ b/model/src/test/java/lcsb/mapviewer/model/map/layout/graphics/LayerTextTest.java
@@ -118,8 +118,6 @@ public class LayerTextTest extends ModelTestFunctions {
     String fontSizeParam = "5.0";
     Double fontSize = 5.0;
 
-    String invalidNumberStr = "xxd";
-
     text.setY(yParam);
     assertEquals(y, text.getY(), Configuration.EPSILON);
     assertEquals(y, text.getY(), Configuration.EPSILON);