Added support for mocked XML file handlers tests.