Refactored to have different threads/processes running the tests