add more tests for richtext widget

Add unicode decode tests with RichTextValue object.