Simplified: TNSNAMES.ORA contains aliases to databases. It means that you can name a database the way you want. Important part of the story is what is behind the first "=" sign (description, address, host, service_name etc.). You can even have two, three or more aliases for the same database!
Now, you'd do that as follows:
Code:
TEST1_ON_OLD_MACHINE =
(DESCRIPTION = ...
(HOST = OLD_MACHINE) ...
)
TEST1_ON_NEW_MACHINE =
(DESCRIPTION = ...
(HOST = NEW_MACHINE) ...
)