Merged environment setup and test run into one function.
Extracted the virtualenv setup, dependencies install and test running into a separate function.
Run tests in parallel.