Added tests for multiple connections.