Yes, it'll add both syslog servers, test1 and test2, assuming that this configuration pertains to syslog server profiles. Reason being is this type of configuration is not an overlapping configuration. You can actually preview the template stack of how the push would look via the Panorama. Screenshot taken from Panorama running PAN-OS 9.x "The Template at the top of the Stack has the highest priority in the presence of overlapping config" - Taken from the GUI, this statement applies ONLY to overlapping configuration (i.e. hostname, management IP address, interface IP addresses, etc)
... View more