io.socket tests