Fixed misspelled reference to options.testResult.

See details in code comment.