tests for ServerClient