Index: trunk/psphot/src/psphot.h
===================================================================
--- trunk/psphot/src/psphot.h	(revision 40809)
+++ trunk/psphot/src/psphot.h	(revision 41174)
@@ -237,4 +237,5 @@
 bool            psphotSetRadiusModel (pmModel *model, pmReadout *readout, pmSource *source, psImageMaskType markVal, bool deep);
 
+bool            psphotDumpTest (pmConfig *config, const pmFPAview *view, const char *filerule);
 bool            psphotDumpMoments (psMetadata *recipe, psArray *sources);
 psMetadata     *psphotDefineHeader (psMetadata *recipe);
Index: trunk/psphot/src/psphotReadout.c
===================================================================
--- trunk/psphot/src/psphotReadout.c	(revision 40809)
+++ trunk/psphot/src/psphotReadout.c	(revision 41174)
@@ -126,5 +126,6 @@
     }
     if (!strcasecmp (breakPt, "PEAKS")) {
-        return psphotReadoutCleanup (config, view, filerule);
+      psphotDumpTest (config, view, filerule);
+      return psphotReadoutCleanup (config, view, filerule);
     }
 
@@ -156,4 +157,5 @@
     }
     if (!strcasecmp (breakPt, "MOMENTS")) {
+      psphotDumpTest (config, view, filerule);
         return psphotReadoutCleanup (config, view, filerule);
     }
