Better connection tests