test remote connection