[BUGFIX] Add `which` attribute to event triggered by test helper
Merge pull request #4529 from slindberg/add-which-to-keyboard-events

[BUGFIX] Add `which` attribute to event triggered by test helper