Refactored the framework to use cluster workers to run tests.