Index: trunk/ippdb/tests/alloc.c
===================================================================
--- trunk/ippdb/tests/alloc.c	(revision 11005)
+++ trunk/ippdb/tests/alloc.c	(revision 11027)
@@ -787,5 +787,5 @@
         p3PendingExpRow *object;
 
-        object = p3PendingExpRowAlloc("a string", -32, -32, "a string"    );
+        object = p3PendingExpRowAlloc("a string", -32, -32, "a string", -16    );
 
         if (!object) {
@@ -806,4 +806,7 @@
         }
         if (strncmp(object->label, "a string", MAX_STRING_LENGTH)) {
+            psFree(object);
+            exit(EXIT_FAILURE);
+        }
             psFree(object);
             exit(EXIT_FAILURE);
Index: trunk/ippdb/tests/insert.c
===================================================================
--- trunk/ippdb/tests/insert.c	(revision 11005)
+++ trunk/ippdb/tests/insert.c	(revision 11027)
@@ -283,5 +283,5 @@
         }
 
-        if (!p3PendingExpInsert(dbh, "a string", -32, -32, "a string")) {
+        if (!p3PendingExpInsert(dbh, "a string", -32, -32, "a string", -16)) {
             exit(EXIT_FAILURE);
         }
Index: trunk/ippdb/tests/insertobject.c
===================================================================
--- trunk/ippdb/tests/insertobject.c	(revision 11005)
+++ trunk/ippdb/tests/insertobject.c	(revision 11027)
@@ -410,5 +410,5 @@
         }
 
-        object = p3PendingExpRowAlloc("a string", -32, -32, "a string");
+        object = p3PendingExpRowAlloc("a string", -32, -32, "a string", -16);
         if (!object) {
             exit(EXIT_FAILURE);
Index: trunk/ippdb/tests/metadatafromobject.c
===================================================================
--- trunk/ippdb/tests/metadatafromobject.c	(revision 11005)
+++ trunk/ippdb/tests/metadatafromobject.c	(revision 11027)
@@ -933,5 +933,5 @@
         bool            status;
 
-        object = p3PendingExpRowAlloc("a string", -32, -32, "a string");
+        object = p3PendingExpRowAlloc("a string", -32, -32, "a string", -16);
         if (!object) {
             exit(EXIT_FAILURE);
@@ -958,4 +958,7 @@
         }
         if (strncmp(psMetadataLookupPtr(&status, md, "label"), "a string", MAX_STRING_LENGTH)) {
+            psFree(md);
+            exit(EXIT_FAILURE);
+        }
             psFree(md);
             exit(EXIT_FAILURE);
Index: trunk/ippdb/tests/objectfrommetadata.c
===================================================================
--- trunk/ippdb/tests/objectfrommetadata.c	(revision 11005)
+++ trunk/ippdb/tests/objectfrommetadata.c	(revision 11027)
@@ -1437,4 +1437,7 @@
             exit(EXIT_FAILURE);
         }
+            psFree(md);
+            exit(EXIT_FAILURE);
+        }
 
         object = p3PendingExpObjectFromMetadata(md);
@@ -1459,4 +1462,7 @@
         }
         if (strncmp(object->label, "a string", MAX_STRING_LENGTH)) {
+            psFree(object);
+            exit(EXIT_FAILURE);
+        }
             psFree(object);
             exit(EXIT_FAILURE);
