Added second test script. Partially implemented support for parallel processes.