add unit tests for charset usage in buildSimpleMessage()