add random connection test