The expected result is impossible to attain due to the structure of the test.
It expects the following collection
[1, 4, "upload.abort", "upload.loadend", "abort", "loadend"];
however it performs the assertion in the event handler in upload.onloadend(), and so the assertions are evaluated before the other events are dispatched.
This would have worked, prior to 10010b1 --- perhaps the Verify function needs to be moved as well?
I'll submit a quick patch for that, because yeah I'm fairly sure this is what was intended