test for multiple connections