Textinput: Test not only clear button presence, but correct markup too