Added test for connect_info