Moved functions to receive and process results to TestResults.