tests sockets only