adds test for different format for list of hosts in target file