add text testcase
add html method.
update readme.