'Testing the fix of a unicode array'

def test_fix_unicode_array(self):

    arr1 = ['a', 'b', 'c', u'd']
    self.assertListEqual(fix_unicode_array(arr1), ['a', 'b', 'c', 'd'])
    arr2 = ['a', '\xa1']
    self.assertListEqual(fix_unicode_array(arr2), ['a', ''])
    arr3 = [1, 2, 3, '4']
    self.assertListEqual(fix_unicode_array(arr3), [1, 2, 3, '4'])
    arr4 = [{'a': 'b'}]
    self.assertListEqual(fix_unicode_array(arr4), [{'a': 'b'}])
