--- a/tests/html/html.sh
+++ b/tests/html/html.sh
@@ -8,7 +8,11 @@
 recollq QMapConstIterator
 recollq Qtextedit Widget Provides Powerful Single-Page 
 recollq '"This is the Mysql reference manual"' 
+# Tests that the charset spec is correctly recognised inside badhtml.html
 recollq -a 'etonne badhtml' 
+# Tests field extraction/storage and indexing
+recollq -m -q "testfield:testfieldvalue" | egrep 'results|^text/html|^testfield ='
+
 ) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
 
 diff -w ${myname}.txt $mystdout > $mydiffs 2>&1