testing of io.sockets.emit