Make the TestResult struct opaque.