Improve test script so it runs multiple simulations.
Correct and improve documentation.