Index: trunk/ippdb/tests/metadatafromobject.c
===================================================================
--- trunk/ippdb/tests/metadatafromobject.c	(revision 9307)
+++ trunk/ippdb/tests/metadatafromobject.c	(revision 9423)
@@ -1208,5 +1208,5 @@
         bool            status;
 
-        object = detRunRowAlloc(-32, "a string", "a string");
+        object = detRunRowAlloc(-32, -32, "a string", "a string");
         if (!object) {
             exit(EXIT_FAILURE);
@@ -1220,4 +1220,8 @@
         psFree(object);
 
+        if (!psMetadataLookupS32(&status, md, "det_id") == -32) {
+            psFree(md);
+            exit(EXIT_FAILURE);
+        }
         if (!psMetadataLookupS32(&status, md, "iteration") == -32) {
             psFree(md);
