bugfixes, test cases
diff --git a/src/test/java/PoliqarpPlusTreeTest.java b/src/test/java/PoliqarpPlusTreeTest.java
index 7e2afc1..ea4a0a6 100644
--- a/src/test/java/PoliqarpPlusTreeTest.java
+++ b/src/test/java/PoliqarpPlusTreeTest.java
@@ -427,6 +427,22 @@
 		ppt = new PoliqarpPlusTree("[base=foo]{2}");
 		map = ppt.getRequestMap().get("query").toString();
 		assertEquals(occ12.replaceAll(" ", ""), map.replaceAll(" ", ""));
+		
+		// [base=foo]{2}
+		String occ13 = "{@type=korap:group, operation=operation:repetition, operands=[" +
+					     "{@type=korap:token, wrap={@type=korap:term, layer=lemma, key=foo, match=match:eq}}" +
+					  "], min=2, max=100}"; 
+		ppt = new PoliqarpPlusTree("[base=foo]{2,}");
+		map = ppt.getRequestMap().get("query").toString();
+		assertEquals(occ13.replaceAll(" ", ""), map.replaceAll(" ", ""));
+		
+		// [base=foo]{2}
+		String occ14 = "{@type=korap:group, operation=operation:repetition, operands=[" +
+					     "{@type=korap:token, wrap={@type=korap:term, layer=lemma, key=foo, match=match:eq}}" +
+					  "], min=0, max=2}"; 
+		ppt = new PoliqarpPlusTree("[base=foo]{,2}");
+		map = ppt.getRequestMap().get("query").toString();
+		assertEquals(occ14.replaceAll(" ", ""), map.replaceAll(" ", ""));
 	}
 	
 	@Test