modified the text render, add test cases.