Tests for disconnect