More robust network tests