Update simulation parameters for batch processing.

Also add TEST_MODE variable in driver.