Improved network test.