added test TCP stack with predefined packet loss