     assert websocket_handle({:text, :subscribe_json}, :req, state) ==
       {:reply, {:text, :subscription_succeeded}, :req, state}
 
-    assert validate JSX
-    assert validate PusherEvent
-    assert validate Subscription
-    assert validate Event
+    assert validate [JSX, PusherEvent, Subscription, Event]
   end
 
   test "unsubscribe event" do

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

    assert validate JSX
    assert validate PusherEvent
    assert validate Subscription
    assert validate Event
  end

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

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

    assert validate [JSX, Subscription, Event]
  end

  test "client event on presence channel" do
