refactored tests related to latin1 conversion