Bug 922558: add text field selection test, and more checks on text box selection test