Updated: tests for sockets module.