Bug 1041607 - Remove synchronous XHR from tests

https://bugzilla.mozilla.org/show_bug.cgi?id=1041607