Tests for websocket broadcasting  (#409)