Moved responsibilities around. Write test results to temp file so that we can redirect to results view (until proper persistence).