Correct a XHRTest's mistake

Correct a XHRTest's mistake