modify connect_test