Raise an error when tests hit the network