Batch file for running in test mode