Cleaned up the test cases for tcp client and fixed a bug in e3_tcp_client_delete().