Adding required test cases for pconnect and pconnect with pid