Index: branches/jhoblitt/ippdb/tests/objectfrommetadata.c
===================================================================
--- branches/jhoblitt/ippdb/tests/objectfrommetadata.c	(revision 7460)
+++ branches/jhoblitt/ippdb/tests/objectfrommetadata.c	(revision 7500)
@@ -1581,4 +1581,8 @@
             exit(EXIT_FAILURE);
         }
+        if (!psMetadataAddS32(md, PS_LIST_TAIL, "iteration", 0, NULL, -32)) {
+            psFree(md);
+            exit(EXIT_FAILURE);
+        }
 
         object = detRunObjectFromMetadata(md);
@@ -1591,4 +1595,8 @@
 
         if (strncmp(object->det_type, "a string", MAX_STRING_LENGTH)) {
+            psFree(object);
+            exit(EXIT_FAILURE);
+        }
+        if (!object->iteration == -32) {
             psFree(object);
             exit(EXIT_FAILURE);
