Implemented all connect test cases
Added happy flow for close tests
Added improved TestSimultaneousClose