tests global sockets