FELIX-6155 - Move methods from XmlHandlerTest to ComponentBase class Some of the methods in XmlHandlerTest are moved to ComponentBase because the can be general useful in other tests.