tcp: simplify test