tc netem in Linux can be useful for this sort of testing to simulate the sort of latency, packet loss and corruption that may be seen on unreliable mobile networks.