updated TestClient with a GUI