Test script now supports automated repetition of simulations.