Added test for tcp_closed