Add a test for scan a network