Add test for failed connections

Ports in find_unused_port from test_support! This will be super useful in the
future.