Add test for connecting to unsupported port (which is not served by PostgreSQL server