test usage and implementation of socket-io.