sockets testing