Updated connect test.
Altered connection class.