Put invokeLater in TestClient