Index: trunk/ippdb/tests/alloc.c
===================================================================
--- trunk/ippdb/tests/alloc.c	(revision 9149)
+++ trunk/ippdb/tests/alloc.c	(revision 9173)
@@ -937,5 +937,5 @@
         detRunRow       *object;
 
-        object = detRunRowAlloc(-32, "a string"    );
+        object = detRunRowAlloc(-32, "a string", "a string"    );
 
         if (!object) {
@@ -948,4 +948,8 @@
         }
         if (strncmp(object->det_type, "a string", MAX_STRING_LENGTH)) {
+            psFree(object);
+            exit(EXIT_FAILURE);
+        }
+        if (strncmp(object->state, "a string", MAX_STRING_LENGTH)) {
             psFree(object);
             exit(EXIT_FAILURE);
Index: trunk/ippdb/tests/insert.c
===================================================================
--- trunk/ippdb/tests/insert.c	(revision 9149)
+++ trunk/ippdb/tests/insert.c	(revision 9173)
@@ -343,5 +343,5 @@
         }
 
-        if (!detRunInsert(dbh, -32, "a string")) {
+        if (!detRunInsert(dbh, -32, "a string", "a string")) {
             exit(EXIT_FAILURE);
         }
Index: trunk/ippdb/tests/insertobject.c
===================================================================
--- trunk/ippdb/tests/insertobject.c	(revision 9149)
+++ trunk/ippdb/tests/insertobject.c	(revision 9173)
@@ -498,5 +498,5 @@
         }
 
-        object = detRunRowAlloc(-32, "a string");
+        object = detRunRowAlloc(-32, "a string", "a string");
         if (!object) {
             exit(EXIT_FAILURE);
Index: trunk/ippdb/tests/metadatafromobject.c
===================================================================
--- trunk/ippdb/tests/metadatafromobject.c	(revision 9149)
+++ trunk/ippdb/tests/metadatafromobject.c	(revision 9173)
@@ -1115,5 +1115,5 @@
         bool            status;
 
-        object = detRunRowAlloc(-32, "a string");
+        object = detRunRowAlloc(-32, "a string", "a string");
         if (!object) {
             exit(EXIT_FAILURE);
@@ -1132,4 +1132,8 @@
         }
         if (strncmp(psMetadataLookupPtr(&status, md, "det_type"), "a string", MAX_STRING_LENGTH)) {
+            psFree(md);
+            exit(EXIT_FAILURE);
+        }
+        if (strncmp(psMetadataLookupPtr(&status, md, "state"), "a string", MAX_STRING_LENGTH)) {
             psFree(md);
             exit(EXIT_FAILURE);
Index: trunk/ippdb/tests/objectfrommetadata.c
===================================================================
--- trunk/ippdb/tests/objectfrommetadata.c	(revision 9149)
+++ trunk/ippdb/tests/objectfrommetadata.c	(revision 9173)
@@ -1697,4 +1697,8 @@
             exit(EXIT_FAILURE);
         }
+        if (!psMetadataAddStr(md, PS_LIST_TAIL, "state", 0, NULL, "a string")) {
+            psFree(md);
+            exit(EXIT_FAILURE);
+        }
 
         object = detRunObjectFromMetadata(md);
@@ -1711,4 +1715,8 @@
         }
         if (strncmp(object->det_type, "a string", MAX_STRING_LENGTH)) {
+            psFree(object);
+            exit(EXIT_FAILURE);
+        }
+        if (strncmp(object->state, "a string", MAX_STRING_LENGTH)) {
             psFree(object);
             exit(EXIT_FAILURE);
Index: trunk/ippdb/tests/pop.c
===================================================================
--- trunk/ippdb/tests/pop.c	(revision 9149)
+++ trunk/ippdb/tests/pop.c	(revision 9173)
@@ -499,11 +499,12 @@
         psS32           iteration;
         char            det_type[256];
-
-        dbh = psDBInit("localhost", "test", NULL, "test");
-        if (!dbh) {
-            exit(EXIT_FAILURE);
-        }
-
-        if (!detRunPop(dbh, &iteration, (char **)&det_type)) { 
+        char            state[256];
+
+        dbh = psDBInit("localhost", "test", NULL, "test");
+        if (!dbh) {
+            exit(EXIT_FAILURE);
+        }
+
+        if (!detRunPop(dbh, &iteration, (char **)&det_type, (char **)&state)) { 
             exit(EXIT_FAILURE);
         }
