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

        it 'should receive some known components', (done) ->
          listener = (message) ->
            data = JSON.parse message.utf8Data
            chai.expect(tv4.validate data, '/component/output/list').to.be.true

            if data.payload.name is "#{collection}/Repeat"
              done()

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

            done()
