Fix warning, display local address information in tests, start the port scan with a random offset