Can you try to tnsping your test database from your production machine. Give the results here.