Added connect failed test.