BufferedWriter to PrintWriter in Team and TestClient

add "Backdoor" for TestClients