This test that the error event is fired for XMLHttpRequests