Added test for Connection