add test for ConnectUrl