Fix bug in unicode_to_bytestring and include tests
Merge pull request #2640 from taldcroft/unicode-bytestring-2640

Table.convert_unicode_to_bytestring doesn't work