@Test
    public void tryConnectToServer() {
        Server server;
        Socket sock;
        try {
            server = new Server(PORT);
            sock = new Socket(HOST, PORT);

            // we should be connected to the server
            assert sock.isConnected();

            server.stop();
        } catch (IOException e) {
            assert false;
        }
    }