TestResult accepts trace argument instead of exception