Condense some fancy networking tests