fix tests for babel.messages.checkers
replace unicode with text_type