simplify TCP testing