Bug 870925 - Part 10: Add StubDelegate.
Bug 870925 - Part 11: Add first and continuation attempt tests.
Bug 870925 - Part 12: Add success and null document tests.
Bug 870925 - Part 13: Add UploadRequestDelegate.handleSuccess test.
Bug 870925 - Part 14: Add handleFailure and handleError tests.