Made testform for socket connection more userfriendly.