Added tests for named connections

Making sure that multiple connections works as expected