ConnectionManager returns better state information when connection down. More test for ConnectionManager.