Added connectiong testing