Updated tests to new sockets.