Index: /trunk/ippToPsps/src/Batch.c
===================================================================
--- /trunk/ippToPsps/src/Batch.c	(revision 30967)
+++ /trunk/ippToPsps/src/Batch.c	(revision 30968)
@@ -211,4 +211,7 @@
                 haveSurveyType = true;
             }
+            else if(strcmp(sw, "-test") == 0 ) {
+                this->testMode = true;
+            }
         }
 
@@ -352,5 +355,7 @@
     this->pmconfig = NULL;
     this->exitCode = PS_EXIT_SUCCESS;
-
+    this->testMode = false;
+
+    // set up function pointers
     this->parseArguments = parseArguments;
     this->init = init;
Index: /trunk/ippToPsps/src/Batch.h
===================================================================
--- /trunk/ippToPsps/src/Batch.h	(revision 30967)
+++ /trunk/ippToPsps/src/Batch.h	(revision 30968)
@@ -46,4 +46,5 @@
     char todaysDate[20];        // today's date
     int exitCode;               // ps exit code
+    bool testMode;              // test mode boolean
 
     // methods
