'Test bytes representing utf-8 string.'

def test_utf8(self):

    schema = pt.SchemaElement(type=pt.Type.BYTE_ARRAY, name=u'test', converted_type=pt.ConvertedType.UTF8)
    data = 'foo\xf0\x9f\x91\xbe'
    self.assertEqual(convert_column([data], schema)[0], u'foo\U0001f47e')
