better tcp tests