Welcome to Oracle Communities
Register and Participate in Oracle's online communities. Learn from thousands of experts, get answers to your questions and share knowledge with peers.
1. you do not have the TESTPDB1 in the list of your services of command "lsnrctl status"
2. you do not have the TESTPDB1 in your tnsnames.ora
I suggest you fix both points.
Once you fixed point 1, you can use the suggestion from Franck Pachot; that way you do not need to fix point 2.