'Check widget\'s data and the output with data on the input'

def test_data(self):

    self.assertEqual(self.widget.data, None)
    self.send_signal(self.widget.Inputs.data, self.zoo)
    self.assertEqual(self.widget.data, self.zoo)
    output = self.get_output(self.widget.Outputs.data)
    transpose = Table.transpose(self.zoo)
    np.testing.assert_array_equal(output.X, transpose.X)
    np.testing.assert_array_equal(output.Y, transpose.Y)
    np.testing.assert_array_equal(output.metas, transpose.metas)
    self.send_signal(self.widget.Inputs.data, None)
    self.assertEqual(self.widget.data, None)
    self.assertIsNone(self.get_output(self.widget.Outputs.data))
