add "WriteWholeMessage" test