Update function test for TextBox.