Fix network check tests