diff --git a/src/test/java/io/anserini/collection/TrecDocumentTest.java b/src/test/java/io/anserini/collection/TrecDocumentTest.java
index f48f52eb89..d0c968f13f 100644
--- a/src/test/java/io/anserini/collection/TrecDocumentTest.java
+++ b/src/test/java/io/anserini/collection/TrecDocumentTest.java
@@ -35,7 +35,7 @@ public void setUp() throws Exception {
"field id test and should NOT be included\n" +
"first test and should NOT be included\n" +
"second test and should NOT be included\n" +
- "
This is head and should NOT be included\n" +
+ "This is head and should be included\n" +
"This is headline and should be included\n" +
"AP\n" +
"\n" +
@@ -51,7 +51,7 @@ public void setUp() throws Exception {
doc1.put("id", "AP-0001");
// ONLY "", "", "", "", "",
// "", "", "", "", "" will be included
- doc1.put("content", "This is head and should NOT be included\n" +
+ doc1.put("content", "This is head and should be included\n" +
"This is headline and should be included\n" +
"\n" +
"Hopefully we\n" +