add connect test