           ]
           connection.once 'message', (message) ->
             data = JSON.parse message.utf8Data
-            chai.expect(tv4.validate data, '/graph/output/removenode').to.be.true
+            validateSchema data, '/graph/output/removenode'
             chai.expect(data.payload).to.eql expects[0].payload
 
             done()

        it 'should provide it back', (done) ->
          connection.once 'message', (message) ->
            data = message.utf8Data
            chai.expect(tv4.validate data, '/runtime/output/runtime').to.be.true
            done()

          send 'runtime', 'getruntime', {}

            ]
            connection.once 'message', (message) ->
              data = JSON.parse message.utf8Data
              validateSchema data, '/graph/output/changenode'
              chai.expect(data.payload.metadata).to.eql expects[0].payload.metadata

              done()
