Add a test for a failed connection