Added in some network testing code