Prox: 1 working tests added.

Change-Id: Ie911f5c3f957a2f9479622c4e4feff0f7cba54b7
diff --git a/src/main/java/de/ids_mannheim/korap/query/serialize/TreeTemplate.java b/src/main/java/de/ids_mannheim/korap/query/serialize/TreeTemplate.java
index 087ae32..2618d57 100644
--- a/src/main/java/de/ids_mannheim/korap/query/serialize/TreeTemplate.java
+++ b/src/main/java/de/ids_mannheim/korap/query/serialize/TreeTemplate.java
@@ -167,7 +167,7 @@
 
         // Some things went wrong ...
         catch (Exception e) {
-            System.err.println(e.getMessage());
+            System.err.println("parseQuery: " + e.getMessage());
         }
 
         // Return the generated tree
diff --git a/src/test/java/de/ids_mannheim/korap/test/cosmas2/Cosmas2QueryProcessorTest.java b/src/test/java/de/ids_mannheim/korap/test/cosmas2/Cosmas2QueryProcessorTest.java
index 4fb0c03..01ff0d3 100644
--- a/src/test/java/de/ids_mannheim/korap/test/cosmas2/Cosmas2QueryProcessorTest.java
+++ b/src/test/java/de/ids_mannheim/korap/test/cosmas2/Cosmas2QueryProcessorTest.java
@@ -631,35 +631,12 @@
         assertFalse(res.at("/query/inOrder").asBoolean());
         
         // 15.01.24/FB
-        query = "Sonne /+w2 Mond"; // distence value missing.
+        query = "Sonne /+w Mond"; // distance value missing.
         qs.setQuery(query, "cosmas2");
         res = mapper.readTree(qs.toJSON());
         
-        System.out.printf("query '%s' produces an error: '%s'.\n", query, res.get("errors") != null ? "true" : "false");
+        assertTrue(res.get("errors") != null);
         
-        assertTrue(res.get("errors") == null);
-        
-        System.out.printf("query '%s' produces: '%s'.\n", query, res.toPrettyString());
-        System.out.printf("query context: '%s'.\n", res.get("@context").asText());
-        
-        System.out.printf("query errors: '%s'.\n", res.get("errors").asText());
-        System.out.printf("query errors: '%s'.\n", res.get("errors").toString());
-        
-        
-        
-        
-        /*
-        assertEquals("cosmas:distance", res.at("/query/distances/0/@type")
-                .asText());
-        assertEquals("w", res.at("/query/distances/0/key").asText());
-        assertEquals(0, res.at("/query/distances/0/boundary/min").asInt());
-        assertEquals(4, res.at("/query/distances/0/boundary/max").asInt());
-        assertEquals("Sonne", res.at("/query/operands/0/operands/0/wrap/key")
-                .asText());
-        assertEquals("Mond", res.at("/query/operands/1/operands/0/wrap/key")
-                .asText());
-        assertFalse(res.at("/query/inOrder").asBoolean());
-        */
     }