updated network connection tests