Factor out the timezone test helper method.

For possible reuse.
Factor out the TestCache test helper class.

It's used in two places so this makes sense.
Factor out the FakeRun test helper class.

Will be reused in other tests.
Factor out the TestXML test helper class.