     assert websocket_info(:start, :req, :state) ==
       {:reply, {:text, :connection_established}, :req2, %State{socket_id: "123.456", time: 123}}
 
-    assert validate PusherEvent
-    assert validate Event
-    assert validate SocketId
-    assert validate JSX
+    assert validate [PusherEvent, Event, SocketId]
   end
 
   test "undefined process message" do

    assert websocket_handle({:text, :client_event_json}, :req, state) ==
      {:ok, :req, state}

    assert validate JSX
    assert validate PusherEvent
    assert validate Channel
    assert validate Event
  end

  test "client event on public channel" do

    assert websocket_handle({:text, :subscribe_json}, :req, state) ==
      {:reply, {:text, :subscription_succeeded}, :req, state}

    assert validate [JSX, PusherEvent, Subscription, Event]
  end

  test "subscribe private channel event failing for bad authentication" do
