added client disconnection in test case