testing connection to remote db