Fix TextBox.on("keypress", ...), fixes #17826, refs #17154.
Also adds test case for #17154 (TextBox in Toolbar).
hardcode test locale to en-us to avoid spurious failures, fixes #17818