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