fixed connection tests