returning test results to the client