added textBoxText to Model and improved tests