web sockets tests (commented)