Add docstring for test_connectionLost.