Test jdbc connection with remote