When moving the site, all I do was a cpanel transfer between servers. It is transparent. No paths are changing - everything is precisely the same.
On a different server, the domain name will not be accessible unless the nameservers for the domain are altered....
You can do this by assigning a dedicated IP to the test account and using this IP in place of the domain name in both configure.php files....you virtual and actual paths will not need to be altered