Fixed connection tests.