XMLHttpRequest fixes

Added some missing testharnessreport.js.
Fixed tests that may timeout (hopefully without changing the behavior of the tests)