As long as TEST already has all the tablespaces which were exported from PROD pre-created, there shouldn't be any issues with this. If you export a tablespace from PROD that doesn't exist in TEST, it will try to create it in the same path that PROD uses and might cause problems. If any tablespace exists in PROD that doesn't exist in TEST, make sure you pre-create it in TEST.

The Database name won't be an issue as long as you keep your environment correctly configured.