test for network connection with ids