diff --git a/product/ERP5/tests/testTemplate.py b/product/ERP5/tests/testTemplate.py
index 8f01b552f1056ffea82d8235027c209f30ff129b..a99444931302581fc882ff02a09e943148a0aaa9 100644
--- a/product/ERP5/tests/testTemplate.py
+++ b/product/ERP5/tests/testTemplate.py
@@ -309,8 +309,16 @@ class TestTemplate(ERP5TypeTestCase):
     self.tic()
     self.assertTrue(document.isIndexable)
     self.assertEqual(len(preference.objectIds()), 1)
-    for template in preference.objectValues():
-      self.assertFalse(template.isIndexable)
+    template = preference.objectValues()[0]
+    self.assertFalse(template.isIndexable)
+    
+    # Because they are not indexable, they cannot be found by catalog
+    transaction.commit()
+    self.tic()
+    self.assertEquals(0, len(self.portal.portal_catalog(uid=template.getUid())))
+    template_line = template.objectValues()[0]
+    self.assertEquals(0,
+        len(self.portal.portal_catalog(uid=template_line.getUid())))
 
     # and this is still true if you create two templates from the same document
     # #929