Automatically search local network.

Add test for swing worker.