fix tests
add some tests for textbox