Tests for comunication with server.