When you perform a replication job the correct source and target VM is displayed. But when you perform a test failover with the same job the correct source host is listed but the source VM is listed incorrectly.
The issue is related to multiple hosts having the same VM ID for different VMs and vRanger showing the information from the wrong host making it look like the wrong source VM is used for a test failover.
To correct the issue unregister and reregister one of the VMs that has it's name showing incorrectly. To do so please follow these steps.
1. Open the vSphere client
2. If one of the VMs name that is being shown incorrectly is a Replica VM then you should reregister this VM since it is already off and does not need to be powered off first this is the case please skip to step 3. If both the VMs that have the wrong name listed are powered on VMs one of them will need to shutdown.
3. Right click on the VM and click on Remove from Inventory
4. Once the VM is no longer listed in the host inventory browse the datastore that the VM resides on, then click on the VM folder
5. Right click on the vmname.vmx file and click on Add to Inventory (Once the VM gets added back to the host inventory it's VM ID will change)
6. Try running the test failover once again this time the correct source host and source VM will be listed for the vRanger replication job