Unit tests: Textinput: Make sure the focus class is toggled on whatever the widget() method for textinput returns.
Textinput: Add focus class to and remove focus class from this.widget() to make sure we act on the wrapper when there is a wrapper. Fixes #6415.