Test element distance queries
diff --git a/src/test/java/de/ids_mannheim/korap/index/TestElementDistanceSpan.java b/src/test/java/de/ids_mannheim/korap/index/TestElementDistanceSpan.java
index 366db87..d89fe0c 100644
--- a/src/test/java/de/ids_mannheim/korap/index/TestElementDistanceSpan.java
+++ b/src/test/java/de/ids_mannheim/korap/index/TestElementDistanceSpan.java
@@ -85,21 +85,21 @@
 	 * */
 	@Test
 	public void testCase1() throws IOException{
-		System.out.println("testCase1");
+		//System.out.println("testCase1");
 		ki = new KorapIndex();
         ki.addDoc(createFieldDoc0()); 
         ki.addDoc(createFieldDoc1());        
         ki.commit();
         
         SpanQuery sq;        
-        sq = createQuery("s", "s:b", "s:c", 1, 2);        
+        sq = createQuery("s", "s:b", "s:c", 0, 2);        
         kr = ki.search(sq, (short) 10);
         
-//        assertEquals(4, kr.totalResults());
-//        assertEquals(0, kr.match(0).startPos);
-//        assertEquals(1, kr.match(0).endPos);
-//        assertEquals(0, kr.match(1).startPos);
-//        assertEquals(3, kr.match(1).endPos);
+        assertEquals(4, kr.totalResults());
+        assertEquals(0, kr.match(0).startPos);
+        assertEquals(1, kr.match(0).endPos);
+        assertEquals(0, kr.match(1).startPos);
+        assertEquals(3, kr.match(1).endPos);
         
 //        System.out.print(kr.getTotalResults()+"\n");
 //   		for (int i=0; i< kr.getTotalResults(); i++){
@@ -116,7 +116,7 @@
 	 * */
 	@Test
 	public void testCase2() throws IOException{
-		System.out.println("testCase2");
+		//System.out.println("testCase2");
 		ki = new KorapIndex();
         ki.addDoc(createFieldDoc0()); 
         ki.addDoc(createFieldDoc1());
@@ -127,10 +127,10 @@
         sq = createQuery("p", "s:b", "s:d", 1, 1);
         kr = ki.search(sq, (short) 10);
         
-//        assertEquals(1, kr.totalResults());
-//        assertEquals(2, kr.match(0).getLocalDocID());
-//        assertEquals(2, kr.match(0).startPos);
-//        assertEquals(4, kr.match(0).endPos);
+        assertEquals(1, kr.totalResults());
+        assertEquals(2, kr.match(0).getLocalDocID());
+        assertEquals(2, kr.match(0).startPos);
+        assertEquals(4, kr.match(0).endPos);
         
 	}