diff --git a/appointment-import/src/main/java/smash/appointment/parse/CellParser.java b/appointment-import/src/main/java/smash/appointment/parse/CellParser.java
index 3c507c4d9a40897039b835ebf0f7c5f42049ac14..3093c7d706f3a4f615111a59560e1e40e0fd4348 100644
--- a/appointment-import/src/main/java/smash/appointment/parse/CellParser.java
+++ b/appointment-import/src/main/java/smash/appointment/parse/CellParser.java
@@ -75,8 +75,8 @@ public class CellParser {
 								result = type;
 								usedString = string;
 							} else if (usedString.contains(string)) {
-								//new one is a substring of old
-							} else { //if there is no substring then we might have a problem
+								// new one is a substring of old
+							} else { // if there is no substring then we might have a problem
 								AppointmentType newType = result;
 								if (usedString.length() < string.length()) {
 									usedString = string;
@@ -130,7 +130,8 @@ public class CellParser {
 								newResult = subject;
 							}
 							logger.warn(
-									"More than one subject possible for query: " + query + ". Subject 1: " + result + ". Subject 2: " + subject + ". Choosing: " + newResult);
+									"[" + indexer.getClass().getSimpleName() + "]" + "More than one subject possible for query: " + query + ". Subject 1: " + result
+											+ ". Subject 2: " + subject + ". Choosing: " + newResult);
 							result = newResult;
 						}
 					}
diff --git a/appointment-import/src/test/java/smash/appointment/parse/TestBase.java b/appointment-import/src/test/java/smash/appointment/parse/TestBase.java
index e3b909e929095ed6ebd890a29195e0f03625364d..e38cc5c34014acd0533d4dbc1be2edf91aeac0da 100644
--- a/appointment-import/src/test/java/smash/appointment/parse/TestBase.java
+++ b/appointment-import/src/test/java/smash/appointment/parse/TestBase.java
@@ -16,6 +16,7 @@ public class TestBase {
 	public void setUp() {
 		subjectDao = new SubjectDao();
 
+		subjectDao.addSubject(new Subject("Piotr Marcin", "Gawron", "ND0005", "5"));
 		subjectDao.addSubject(piotrGawron);
 		subjectDao.addSubject(janKowalskiNowak);
 		subjectDao.addSubject(johnDoe);