test connection and server commands