Test case to edit text field and check if model updated