Fixing test issues caused by removal of Jersey and OWSCapabilitiesXMLAdapter change