remove some invalid code of test_echoserver