Simplifying TCP interaction tests