Index: trunk/psLib/test/types/tap_psPixels_all.c
===================================================================
--- trunk/psLib/test/types/tap_psPixels_all.c	(revision 19382)
+++ trunk/psLib/test/types/tap_psPixels_all.c	(revision 19539)
@@ -51,5 +51,5 @@
     }
     //Make sure psMemCheckPixels works correctly - return false
-    // XXX EAM : disabled -- failing test causes segfault  
+    // XXX EAM : disabled -- failing test causes segfault
     if (0) {
         int j = 2;
@@ -349,5 +349,5 @@
     {
         psMemId id = psMemGetId();
-        psPixels *outPixels = psPixelsAlloc(5);
+        psPixels *outPixels = psPixelsAlloc(6);
         in.x = 1.0;
         in.y = 1.0;
@@ -360,5 +360,7 @@
         in.x = 2.0;
         psPixelsSet(outPixels, 4, in);  //2, 1
-        psPixels *testPixels = psPixelsAlloc(6);
+        in.y = 2.0;
+        psPixelsSet(outPixels, 5, in);  //2, 2
+        psPixels *testPixels = psPixelsAlloc(7);
         in.x = 1.0;
         in.y = 1.0;
@@ -370,11 +372,15 @@
         in.x = 2.0;
         psPixelsSet(testPixels, 3, in);  //2, 1
+        in.y = 2.0;
+        psPixelsSet(testPixels, 4, in);  //2, 2
         in.x = 1.0;
-        psPixelsSet(testPixels, 4, in);  //1, 1
+        psPixelsSet(testPixels, 5, in);  //1, 2
         in.x = 5.0;
         in.y = 3.0;
-        psPixelsSet(testPixels, 5, in);  //5, 3
+        psPixelsSet(testPixels, 6, in);  //5, 3
         outPixels = psPixelsConcatenate(outPixels, testPixels);
-        ok(outPixels->n == 6, "psPixelsConcatenate:  return properly concatenate pixel list for valid inputs.");
+        outPixels = psPixelsDuplicates(outPixels, outPixels);
+        // Should be 5 entries: (1,1) (2,1) (1,2) (2,2) (5,3)
+        ok(outPixels->n == 5, "psPixelsConcatenate:  return properly concatenate pixel list for valid inputs.");
         psFree(testPixels);
         psFree(outPixels);
