Test connect.