Added testscript for sockets.