tcp: fix test