Bug 870925 - Followup: Move cache suffix to local var.
Bug 870925 - Part 9: Refactor constructors for mocking purposes.
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.