Trigger a change event when clearing a text input

At present, if a test attempts to clear an input, and then make an
assertion, no code is informed of the change, as the only event
triggered is `focus`. Triggering a `change` event should allow code to
work properly in these cases.