Added unit test for multiple connections